@@ -93,19 +93,10 @@ For additional documentation and examples of the main MongoDB read
93
93
operators, refer to the :doc:`/applications/read` page of the
94
94
:doc:`/crud` section.
95
95
96
- .. [#formal-query-structure]
97
- :method:`db.collection.find( \<query\>, \<projection\> )
98
- <db.collection.find()>` is a wrapper for the more formal query
99
- structure with the :operator:`$query` operator:
96
+ .. [#formal-query-structure] :method:`db.collection.find()` is a
97
+ wrapper for the more formal query structure with the
98
+ :operator:`$query` operator.
100
99
101
- .. code-block:: javascript
102
-
103
- db.collection.find( { $query: <query>, ... }, <projection> )
104
-
105
- Within the formal structure, in addition to the :operator:`$query`
106
- operator, you can use the :doc:`meta query operators
107
- </reference/meta-query-operators>` to modify the behavior of the
108
- query.
109
100
110
101
.. _read-operations-query-document:
111
102
.. _read-operations-query-argument:
@@ -222,7 +213,7 @@ Subdocuments
222
213
When the field holds an embedded document (i.e. subdocument), you can
223
214
either specify the entire subdocument as the value of a field, or
224
215
"reach into" the subdocument using :term:`dot notation`, to specify
225
- values for individual fields in the subdocument:
216
+ values for individual fields in the subdocument:
226
217
227
218
- Equality matches within subdocuments select documents if the
228
219
subdocument matches *exactly* the specified subdocument, including the
@@ -245,7 +236,7 @@ values for individual fields in the subdocument:
245
236
246
237
- Equality matches for specific fields within subdocuments select
247
238
documents when the field in the subdocument contains a field that
248
- matches the specified value.
239
+ matches the specified value.
249
240
250
241
In the following example, the query uses the :term:`dot notation` to
251
242
match all documents where the value of the field ``producer`` is a
@@ -344,7 +335,7 @@ subdocuments:
344
335
to ``'on time'`` and the field ``by`` equal to ``'shipping'``:
345
336
346
337
.. code-block:: javascript
347
-
338
+
348
339
db.inventory.find( { memos: {
349
340
$elemMatch: {
350
341
memo : 'on time',
0 commit comments