@@ -28,7 +28,7 @@ rather than Django methods.
2828The Django QuerySet API provides a ``QuerySet.raw()`` method, which allows
2929you to perform raw SQL queries on relational databases. {+django-odm+}
3030does not support the ``raw()`` method. Instead, the ODM provides the
31- ``QuerySet.raw_aggregate()`` method, which you can use to send commands
31+ ``QuerySet.raw_aggregate()`` method, which you can use to send instructions
3232to the database in pipeline stages.
3333
3434Sample Data
@@ -95,7 +95,7 @@ Filter and Project Document Fields
9595
9696This example runs a raw database query by calling the
9797``raw_aggregate()`` method on your ``Movie`` objects,
98- which represent documents in the ``sample_mflix.movies`` MongoDB
98+ which represent documents in the ``sample_mflix.movies``
9999collection. The code passes the following aggregation pipeline stages
100100to ``raw_aggregate()``:
101101
@@ -125,7 +125,7 @@ to ``raw_aggregate()``:
125125 print(f"Plot of {m.title}, released on {m.released}: {m.plot}\n")
126126
127127 .. output::
128- :language: javascript
128+ :language: none
129129 :visible: false
130130
131131 Plot of The Parent Trap, released on 1961-06-21 00:00:00+00:00:
@@ -217,7 +217,7 @@ actions:
217217 print(f"Title: {m.title}, text match details: {m.highlight}\n")
218218
219219 .. output::
220- :language: javascript
220+ :language: none
221221 :visible: false
222222
223223 Title: Tokyo Fiancèe, text match details: [{'score': 2.3079638481140137, 'path': 'plot',
@@ -264,12 +264,11 @@ Query Geospatial Data
264264~~~~~~~~~~~~~~~~~~~~~
265265
266266
267-
268267Additional Information
269268----------------------
270269
271270To view more examples that use the ``raw_aggregate()`` method,
272- see `QuerySet API Reference <{+django-api+}querysets.htmln >`__
271+ see `QuerySet API Reference <{+django-api+}querysets.html >`__
273272in the {+django-odm+} API documentation.
274273
275274To learn more about running aggregation operations, see
0 commit comments