Skip to content

Commit aacc333

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

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
@@ -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)