@@ -26,7 +26,7 @@ query the database by using MongoDB's aggregation pipeline syntax
26
26
rather than Django methods.
27
27
28
28
The Django QuerySet API provides a ``QuerySet.raw()`` method, which allows
29
- you to perform raw SQL queries on relational databases. {+django-odm+}
29
+ you to perform raw SQL queries on relational databases. However, {+django-odm+}
30
30
does not support the ``raw()`` method. Instead, the ODM provides the
31
31
``QuerySet.raw_aggregate()`` method, which you can use to send instructions
32
32
to the database in pipeline stages.
@@ -165,7 +165,7 @@ functionality, such as matching text phrases, scoring results for
165
165
relevance, and highlighting matches.
166
166
167
167
To specify an Atlas Search query, create an Atlas Search index
168
- that covers the fields you want to query. Then, specify the ``$search``
168
+ that covers the fields you want to query. Then, pass a ``$search``
169
169
or ``$searchMeta`` stage in an aggregation pipeline parameter to
170
170
the ``raw_aggregate()`` method.
171
171
@@ -279,7 +279,7 @@ a geographic location on the surface of the Earth or on a
279
279
Euclidean plane.
280
280
281
281
To run a geospatial query, create a ``2d`` or ``2dsphere`` index on fields
282
- containing geospatial data. Then, specify one of the following
282
+ containing geospatial data. Then, pass one of the following
283
283
query operators in an aggregation pipeline parameter to
284
284
the ``raw_aggregate()`` method:
285
285
0 commit comments