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 e35dab5 commit b8cf4c2Copy full SHA for b8cf4c2
docs/guide/querying.rst
@@ -237,9 +237,10 @@ Update with Aggregation Pipeline
237
-----------
238
It is possible to provide a raw :mod:`PyMongo` aggregation update parameter, which will
239
be integrated directly into the update. This is done using the ``aggregation_update=True`` and ``__raw__``
240
+pipeline
241
+`Update with Aggregation Pipeline <https://docs.mongodb.com/manual/reference/method/db.collection.updateMany/#update-with-aggregation->`_
242
keyword argument::
243
-
244
# 'tags' field is set to 'coding is fun'
245
Page.objects(tags='coding').update(__raw__=[
246
{"$set": {"tags": {"$concat": ["$tags", "is fun"]}}}
0 commit comments