Merge pull request #1753 from JohnAD/master

Edit EmbeddedDocumentListField update() doc
This commit is contained in:
erdenezul 2018-03-11 19:35:13 +08:00 committed by GitHub
commit 4042f88bd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -351,7 +351,8 @@ class EmbeddedDocumentList(BaseList):
def update(self, **update): def update(self, **update):
""" """
Updates the embedded documents with the given update values. Updates the embedded documents with the given replacement values. This
function does not support mongoDB update operators such as ``inc__``.
.. note:: .. note::
The embedded document changes are not automatically saved The embedded document changes are not automatically saved