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 8e91ab1 commit 5082a7eCopy full SHA for 5082a7e
source/reference/method/db.collection.update.txt
@@ -310,6 +310,14 @@ If the :ref:`\<update\> <update-parameter>` document contains *only*
310
311
For an example, see :ref:`example-update-multi`.
312
313
+Using ``$expr`` in an Update with ``Upsert``
314
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
315
+
316
+Attempting to use the :manual:`$expr </reference/operator/query/expr/>`
317
+operator with the upsert flag set to ``true`` will generate an error.
318
319
+.. _update-sharded-collection:
320
321
Sharded Collections
322
~~~~~~~~~~~~~~~~~~~
323
0 commit comments