-
Declaration
Swift
static let schema: String
-
The pivot’s ID.
Declaration
Swift
@AlertWordPivot .ID var id: UUID? { get set }
-
The number of Twarrts that this user has viewed
Declaration
Swift
@AlertWordPivot .Field var twarrtCount: Int { get set }
-
The number of ForumPosts containing this alertword that this user has viewed
Declaration
Swift
@AlertWordPivot .Field var postCount: Int { get set }
-
Used by Fluent
Declaration
Swift
init()
-
Initializes a new AlertWord object.
Declaration
Swift
init(alertword: AlertWord, userID: UUID) throws
Parameters
word
the word to alert on..