Skip to content

Commit d2bf8fe

Browse files
idoshrbagerard
authored andcommitted
Update querying.rst
Co-authored-by: Bastien Gérard <bast.gerard@gmail.com>
1 parent da15e8d commit d2bf8fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/guide/querying.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ This is done by using ``__raw__`` keyword argument to the update method and prov
263263
# 'tags' field == ['test1', 'test2', 'test3']
264264
Page.objects().update(__raw__=
265265
{'$set': {"tags.$[element]": 'test11111'}},
266-
array_filters=[{"element": {'$eq': 'test2'}}],
266+
'array_filters': [{"element": {'$eq': 'test2'}}],
267267

268268
# 'tags' field == ['test1', 'test11111', 'test3']
269269

0 commit comments

Comments
 (0)