Documentation Request Summary:
The UUID() command now takes an optional 36 character string literal in RFC 4122 format, such as "3b241101-e2bb-4255-8caf-4136c566a962" and generates the corresponding BSON object using BinData subtype 4 (UUID). Without argument a random UUID in the RFC 4122 v4 format is generated.
These UUIDs are presented in the shell using that same syntax:
UUID("3b241101-e2bb-3255-7caf-4136c566a962")
The old style 32 character string literal (without hyphens) is deprecated, but will still generate a BSON object using BinData subtype 3 (old UUID).
|