diff --git a/source/core/document.txt b/source/core/document.txt index fcd85349021..5433d844725 100644 --- a/source/core/document.txt +++ b/source/core/document.txt @@ -221,7 +221,7 @@ The ``_id`` field has the following behavior and constraints: first, then the server will move the field to the beginning. - The ``_id`` field may contain values of any :doc:`BSON data type - `, other than an array. + `, other than an array, regex, or undefined. .. warning:: To ensure functioning replication, do not store values that are of the BSON regular expression type in the ``_id``