Skip to content

Commit a49b094

Browse files
authored
Merge pull request #2792 from WeepingClown13/master
add missing link for set_on_insert in documentation
2 parents abc3fc3 + 03c612f commit a49b094

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/guide/querying.rst

+1
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ There are several different "modifiers" that you may use with these methods:
587587
* ``add_to_set`` -- add value to a list only if its not in the list already
588588
* ``rename`` -- rename the key name
589589

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

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

0 commit comments

Comments
 (0)