Skip to content

Commit ee766bf

Browse files
idoshrbagerard
andauthored
Update querying.rst
Co-authored-by: Bastien Gérard <[email protected]>
1 parent aacc333 commit ee766bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/querying.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ This is done by using ``__raw__`` keyword argument to the update method and prov
260260
`Update with Array Operator <https://www.mongodb.com/docs/manual/reference/operator/update/positional-filtered->`_
261261
::
262262

263-
# 'tags' field == ['test1', 'test2', 'test3']
263+
# assuming an initial 'tags' field == ['test1', 'test2', 'test3']
264264
Page.objects().update(__raw__=
265265
{'$set': {"tags.$[element]": 'test11111'}},
266266
'array_filters': [{"element": {'$eq': 'test2'}}],

0 commit comments

Comments
 (0)