Skip to content

Commit b8cf4c2

Browse files
committed
Update with Aggregation Pipeline doc
1 parent e35dab5 commit b8cf4c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/guide/querying.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,10 @@ Update with Aggregation Pipeline
237237
-----------
238238
It is possible to provide a raw :mod:`PyMongo` aggregation update parameter, which will
239239
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->`_
240242
keyword argument::
241243

242-
243244
# 'tags' field is set to 'coding is fun'
244245
Page.objects(tags='coding').update(__raw__=[
245246
{"$set": {"tags": {"$concat": ["$tags", "is fun"]}}}

0 commit comments

Comments
 (0)