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

View File

@@ -351,7 +351,8 @@ class EmbeddedDocumentList(BaseList):
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::
The embedded document changes are not automatically saved