[DOCS-10403] Docs for SERVER-29154: Have mongo shell display and accept UUID as such instead of BinData(4, ...) Created: 17/Jun/17  Updated: 29/Oct/23  Resolved: 02/Oct/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 3.5.9

Type: Task Priority: Major - P3
Reporter: Emily Hall Assignee: Jeffrey Allen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-29154 Have mongo shell display and accept U... Closed
Related
related to DOCS-11266 Comment on: "manual/reference/method/... Closed
Participants:
Days since reply: 6 years, 19 weeks, 2 days ago
Epic Link: DOCS: 3.6 Server

 Description   

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).



 Comments   
Comment by Githook User [ 02/Oct/17 ]

Author:

{'email': 'jeffrey.allen@10gen.com', 'name': 'jeff-allen-mongo', 'username': 'jeff-allen-mongo'}

Message: DOCS-10403 - Updates to UUID method
Branch: master
https://github.com/mongodb/docs/commit/c705690af22011491a85e808dec1a50e12ea6c63

Comment by Jeffrey Allen [ 02/Oct/17 ]

RFM!

Code review: https://mongodbcr.appspot.com/158930001/

Pull request: https://github.com/mongodb/docs/pull/2973

Generated at Thu Feb 08 08:00:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.