We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9a6bfb commit b5567ebCopy full SHA for b5567eb
docs/reference/content/bson/documents.md
@@ -11,6 +11,15 @@ title = "Documents"
11
12
The driver includes several classes and interfaces used for representing BSON documents.
13
14
+{{% note class="important" %}}
15
+
16
+The server's behavior related to duplicate key names in a document is undefined. When a
17
+document with duplicate key names is decoded, the driver will assign the last
18
+value associated with the duplicate key. Storing such a document will cause
19
+the other values to be lost.
20
21
+{{% /note %}}
22
23
### BsonDocument
24
25
Although generally not needed by users of the high-level driver API, the [`BsonDocument`]({{< apiref "org/bson/BsonDocument" >}}) class is
0 commit comments