Skip to content

[C++] Add documentation warning against the use of duplicate key names #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions source/data-formats/working-with-bson.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ and supports additional types, including dates, different-sized integers, ``Obje
values, and binary data. For a complete list of supported types, see the :manual:`BSON Types </reference/bson-types/>`
page in the {+mdb-server+} manual.

.. note::

Avoid adding duplicate keys to BSON documents. Although the `BSON specification <https://bsonspec.org/>`__
allows duplicate keys, they can cause unexpected behavior in {+mdb-server+}.

BSON Values and Views
~~~~~~~~~~~~~~~~~~~~~

Expand Down
Loading