Adding support for pop operations to QuerySet.update and QuerySet.update_one

This commit is contained in:
Richard Henry
2010-08-28 09:16:02 +01:00
parent 196606438c
commit 7de9adc6b1
2 changed files with 4 additions and 3 deletions

View File

@@ -399,6 +399,7 @@ that you may use with these methods:
* ``unset`` -- delete a particular value (since MongoDB v1.3+)
* ``inc`` -- increment a value by a given amount
* ``dec`` -- decrement a value by a given amount
* ``pop`` -- remove the last item from a list
* ``push`` -- append a value to a list
* ``push_all`` -- append several values to a list
* ``pull`` -- remove a value from a list