Class
IDProperty
@propertyWrapper final class IDProperty<Model, Value> where Model : Model, Value : Decodable, Value : Encodable, Value : Sendable
Topics
Initializers
convenience init()Initializes anIDproperty with the key.idand typeUUID.init(custom: FieldKey, generatedBy: IDProperty<Model, Value>.Generator?)Create anIDproperty with a specific key, value type, and optional value generator.convenience init(key: IDProperty<Model, Value>._DefaultIDFieldKey)Compatibility syntax for initializing anIDproperty.
Instance Properties
var exists: Boollet field: Model.OptionalField<Value>var key: FieldKeyvar projectedValue: IDProperty<Model, Value>var wrappedValue: Value?
Enumerations
Default Implementations
Relationships
Conforms To
AnyCodablePropertyAnyDatabasePropertyAnyPropertyAnyQueryAddressablePropertyAnyQueryablePropertyPropertyQueryAddressablePropertyQueryablePropertySwift.CopyableSwift.CustomStringConvertibleSwift.EscapableSwift.SendableSwift.SendableMetatype