Protocol
Model
protocol Model : AnyModel
Topics
Associated Types
Instance Properties
Instance Methods
func create(on:)func delete(force:on:)func handle(ModelEvent, on: any Database) async throwsfunc requireID() throws -> Self.IDValuefunc restore(on:)func save(on:)func update(on:)
Type Aliases
typealias Childrentypealias CompositeChildrenA convenience alias forCompositeChildrenProperty. It is strongly recommended that callers use this alias rather than referencingCompositeChildrenPropertydirectly whenever possible.typealias CompositeIDtypealias CompositeOptionalChildA convenience alias forCompositeOptionalChildProperty. It is strongly recommended that callers use this alias rather than referencingCompositeOptionalChildPropertydirectly whenever possible.typealias CompositeOptionalParentA convenience alias forCompositeOptionalParentProperty. It is strongly recommended that callers use this alias rather than referencingCompositeOptionalParentPropertydirectly whenever possible.typealias CompositeParentA convenience alias forCompositeParentProperty. It is strongly recommended that callers use this alias rather than referencingCompositeParentPropertydirectly whenever possible.typealias IDtypealias OptionalChildtypealias OptionalParenttypealias Parenttypealias Siblingstypealias Timestamp
Type Methods
Relationships
Inherits From
AnyModelFieldsSchemaSwift.CustomStringConvertibleSwift.DecodableSwift.EncodableSwift.SendableSwift.SendableMetatype