We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aacc333 commit ee766bfCopy full SHA for ee766bf
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