-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
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).
- documents
-
SERVER-29154 Have mongo shell display and accept UUID as such instead of BinData(4, ...)
- Closed
- related to
-
DOCS-11266 Comment on: "manual/reference/method/UUID"
- Closed