Skip to content

Commit

Permalink
Merge pull request #2792 from WeepingClown13/master
Browse files Browse the repository at this point in the history
add missing link for set_on_insert in documentation
  • Loading branch information
bagerard authored Jan 1, 2024
2 parents abc3fc3 + 03c612f commit a49b094
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/guide/querying.rst
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ There are several different "modifiers" that you may use with these methods:
* ``add_to_set`` -- add value to a list only if its not in the list already
* ``rename`` -- rename the key name

.. _need to add upsert=True: http://docs.mongodb.org/manual/reference/operator/update/setOnInsert
.. _depending on the value: http://docs.mongodb.org/manual/reference/operator/update/pop/

The syntax for atomic updates is similar to the querying syntax, but the
Expand Down

0 comments on commit a49b094

Please sign in to comment.