docstring correction

Corrected the docstring for `mongoengine.queryset.base.update_one()`
This commit is contained in:
abonhomme 2015-10-23 11:07:26 -04:00
parent 2f1fae38dd
commit 44f92d4169

View File

@ -472,7 +472,8 @@ class BaseQuerySet(object):
raise OperationError(u'Update failed (%s)' % unicode(err))
def update_one(self, upsert=False, write_concern=None, **update):
"""Perform an atomic update on first field matched by the query.
"""Perform an atomic update on the fields of the first document
matched by the query.
:param upsert: Any existing document with that "_id" is overwritten.
:param write_concern: Extra keyword arguments are passed down which