UUIDEncodingStrategy
public enum UUIDEncodingStrategy
Enum representing the various strategies for encoding UUIDs.
As per the BSON specification, the default strategy is to encode UUIDs as BSON binary types with the UUID
subtype.
See also
bsonspec.org-
Encode the
UUIDby deferring to its default encoding implementation.Declaration
Swift
case deferredToUUID -
Encode the
UUIDas a BSON binary type (default).Declaration
Swift
case binary
View on GitHub
Install in Dash
UUIDEncodingStrategy Enumeration Reference