-
Declaration
Swift
static let schema: String
-
The ID of the pivot.
Declaration
Swift
@ID var id: UUID? -
The type of like reaction. Needs to be optional to conform to
ModifiablePivot‘s requiredinit(_:_:).Declaration
Swift
@Field var likeType: LikeType? -
TRUE if this forum post is favorited by this user.
Declaration
Swift
@Field var isFavorite: Bool
-
Declaration
Swift
init() -
Initializes a new PostLikes pivot.
Declaration
Swift
init(_ userID: UUID, _ post: ForumPost) throws
View on GitHub
PostLikes Class Reference