public enum UUIDCodingStrategy : RawRepresentable
Enum representing the various encoding/decoding strategy pairs for
Set these on a
MongoCollection so that the strategies will be applied when
UUIDs between their BSON representations and their representations in (non
As per the BSON specification, the default strategy is to encode
UUIDs as BSON binary types with the UUID
UUIDby deferring to its default encoding/decoding implementations.
UUIDto/from a BSON binary type (default).