Merge pull request #1762 from malthejorgensen/patch-1

queryset.update: `full_result`-argument not clearly described
This commit is contained in:
erdenezul 2018-03-30 08:31:35 +08:00 committed by GitHub
commit b081ffce50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -486,8 +486,9 @@ class BaseQuerySet(object):
``save(..., write_concern={w: 2, fsync: True}, ...)`` will
wait until at least two servers have recorded the write and
will force an fsync on the primary server.
:param full_result: Return the full result rather than just the number
updated.
:param full_result: Return the full result dictionary rather than just the number
updated, e.g. return
`{u'n': 2, u'nModified': 2, u'ok': 1.0, 'updatedExisting': True}`.
:param update: Django-style update keyword arguments
.. versionadded:: 0.2