Protocols
The following protocols are available globally.
-
A protocol for types that can be converted to a
FieldValuefor use in queries and index operations.Conforming types include
See moreString,Int,Int64,Double,Bool,UUID,Date, andOptionalwrappers. This allows the public API to accept a wide range of value types without forcing callers to constructFieldValuedirectly.Declaration
Swift
public protocol FieldValueConvertible : Sendable
View on GitHub
Protocols Reference