Instance Method
queryableValue()
If the property’s current value has been set, return a description of the appropriate method for encoding that value into a database query. See
DatabaseQuery.Value for more details. If the value is not set, the property must choose whether to request the NULL encoding or to return no value at all (whether or not this results in an error is highly context- dependent).func queryableValue() -> DatabaseQuery.Value?
Default Implementations
AnyQueryableProperty Implementations
queryableValue()By default,QueryablePropertys usesqueryValue(_:)to provide itsqueryableValue(). While it is not strictly required that this be the case, providing an alternative implementation risks violating the “identical encoding for identical property types” rule (seequeryValue(_:)).