Skip to content

Commit a19e440

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCS-14158 Adding blurb to cover expression operator and upsert flag.
1 parent 7967ebd commit a19e440

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/reference/method/db.collection.update.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,12 @@ privileges.
233233
Behavior
234234
--------
235235

236+
Using ``$expr`` in an Update with ``Upsert``
237+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
238+
239+
Attempting to use the :manual:`$expr </reference/operator/query/expr/>`
240+
operator with the upsert flag set to ``true`` will generate an error.
241+
236242
.. _update-sharded-collection:
237243

238244
Sharded Collections

0 commit comments

Comments
 (0)