Skip to content

Commit 4042f88

Browse files
author
erdenezul
authored
Merge pull request #1753 from JohnAD/master
Edit EmbeddedDocumentListField update() doc
2 parents aa68322 + a0947d0 commit 4042f88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mongoengine/base/datastructures.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,8 @@ def delete(self):
351351

352352
def update(self, **update):
353353
"""
354-
Updates the embedded documents with the given update values.
354+
Updates the embedded documents with the given replacement values. This
355+
function does not support mongoDB update operators such as ``inc__``.
355356
356357
.. note::
357358
The embedded document changes are not automatically saved

0 commit comments

Comments
 (0)