UUIDDecodingStrategy
public enum UUIDDecodingStrategy
Enum representing the various strategies for decoding UUID
s from BSON.
As per the BSON specification, the default strategy is to decode UUID
s from BSON binary types with the UUID
subtype.
See also
bsonspec.org-
Decode
UUID
s by deferring to their default decoding implementation.Declaration
Swift
case deferredToUUID
-
Decode
UUID
s stored as theBSONBinary
type (default).Declaration
Swift
case binary