We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2bf8fe commit 3d35419Copy full SHA for 3d35419
1 file changed
docs/guide/querying.rst
@@ -260,7 +260,7 @@ This is done by using ``__raw__`` keyword argument to the update method and prov
260
`Update with Array Operator <https://www.mongodb.com/docs/manual/reference/operator/update/positional-filtered->`_
261
::
262
263
- # 'tags' field == ['test1', 'test2', 'test3']
+ # assuming an initial 'tags' field == ['test1', 'test2', 'test3']
264
Page.objects().update(__raw__=
265
{'$set': {"tags.$[element]": 'test11111'}},
266
'array_filters': [{"element": {'$eq': 'test2'}}],
0 commit comments