Skip to content

Commit 667d542

Browse files
committed
BUG27567999: Fix wrong docstring in ModifyStatement.patch()
1 parent 7b3a2ee commit 667d542

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mysqlx/statement.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,8 @@ def array_append(self, doc_path, value):
740740
return self
741741

742742
def patch(self, doc):
743-
"""Inserts a value into a specific position in an array attribute in
744-
documents of a collection.
743+
"""Takes a :class:`mysqlx.DbDoc`, string JSON format or a dict with the
744+
changes and applies it on all matching documents.
745745
746746
Args:
747747
doc (object): A generic document (DbDoc), string in JSON format or

0 commit comments

Comments
 (0)