-
Declaration
Swift
static let schema: String
-
The alertword’s ID.
Declaration
Swift
@AlertWord .ID var id: Int? { get set } -
The alertword. Must be one word, no spaces. Should be stored in lowercase.
Declaration
Swift
@AlertWord .Field var word: String { get set } -
The number of Twarrts that contain this alertword
Declaration
Swift
@AlertWord .Field var twarrtCount: Int { get set } -
The number of ForumPosts that contain this alertword
Declaration
Swift
@AlertWord .Field var postCount: Int { get set }
-
Used by Fluent
Declaration
Swift
init() -
Initializes a new AlertWord object.
Declaration
Swift
init(_ word: String)Parameters
wordthe word to alert on..
View on GitHub