File tree 1 file changed +6
-5
lines changed
source/fundamentals/serialization
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ also known as **universally unique identifiers** (UUIDs).
28
28
29
29
In MongoDB applications, you can use the
30
30
`ObjectId <{+new-api-root+}/api/MongoDB.Bson/MongoDB.Bson.ObjectId.html>`__ type
31
- as a unique identifier for a document. Consider using ``ObjectId`` in place of a GUID
32
- in MongoDB applications where possible.
31
+ as a unique identifier for a document. Consider using ``ObjectId`` instances in place
32
+ of GUIDs in MongoDB applications where possible.
33
33
34
34
GUIDs in MongoDB
35
35
----------------
@@ -43,11 +43,12 @@ The following code block shows an example GUID:
43
43
00112233-4455-6677-8899-aabbccddeeff
44
44
45
45
Originally, MongoDB represented GUIDs as ``BsonBinaryData``
46
- values of subtype 3. Because subtype 3 didn't standardize the byte order of GUIDs
46
+ values of :manual:`subtype 3. </reference/bson-types/#binary-data>`
47
+ Because subtype 3 didn't standardize the byte order of GUIDs
47
48
during encoding, different MongoDB drivers encoded GUIDs with different byte orders.
48
49
49
- Use the following tabs to compare the ways in which different MongoDB language drivers
50
- encoded the preceding GUID to ``BsonBinaryData`` subtype 3:
50
+ The following tabs show different driver encodings of the preceding GUID to
51
+ ``BsonBinaryData`` subtype 3:
51
52
52
53
.. tabs::
53
54
You can’t perform that action at this time.
0 commit comments