From 71f52c9cd1cb45889fb1ce9cfd31ae3b8a609554 Mon Sep 17 00:00:00 2001 From: Alison Jieun Huh Date: Thu, 3 Jun 2021 16:10:53 -0400 Subject: [PATCH] DOCS-14523 update _id fields --- source/core/document.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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``