@@ -203,18 +203,18 @@ Take the following considerations for the ``_id`` field:
203
203
204
204
.. _documents-query-selectors:
205
205
206
- Query Specification Documents
207
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206
+ Query Documents
207
+ ~~~~~~~~~~~~~~~
208
208
209
- Query selector documents specify the conditions that determine which
210
- records to select for read, update, and delete operations. You can use
211
- field and value expressions to specify the equality condition and
212
- :doc:`query operator </reference/operators>` expressions to specify
213
- additional conditions. Refer to :doc:`read </applications/read>`,
214
- :doc:`update </applications/update>`, and :doc:`delete
215
- </applications/delete>` pages for more examples.
209
+ Query documents specify the conditions that determine which records to
210
+ select for read, update, and delete operations. You can use field and
211
+ value expressions to specify the equality condition and :doc:`query
212
+ operator </reference/operators>` expressions to specify additional
213
+ conditions. Refer to :doc:`read </applications/read>`, :doc:`update
214
+ </applications/update>`, and :doc:`delete </applications/delete>` pages
215
+ for more examples.
216
216
217
- Consider the following examples of query selector documents:
217
+ Consider the following examples of query documents:
218
218
219
219
- The following document specifies the query criteria where ``_id`` is
220
220
equal to ``1``:
@@ -261,17 +261,17 @@ for MongoDB to return, remove, or update, as in the following:
261
261
262
262
.. _documents-update-actions:
263
263
264
- Update Specification Documents
265
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
264
+ Update Documents
265
+ ~~~~~~~~~~~~~~~~
266
266
267
- The update action documents specify the data modifications to perform
268
- during an :method:`update() <db.collection.update()>` operation to
269
- modify existing records in a collection. You can use :ref:`update
270
- operators <update-operators>` to specify the exact actions to perform
271
- on the document fields. See the :ref:`update operators
272
- <update-operators>` page for the available update operators and syntax.
267
+ The update documents specify the data modifications to perform during
268
+ an :method:`update() <db.collection.update()>` operation to modify
269
+ existing records in a collection. You can use :ref:`update operators
270
+ <update-operators>` to specify the exact actions to perform on the
271
+ document fields. See the :ref:`update operators <update-operators>`
272
+ page for the available update operators and syntax.
273
273
274
- Consider the update specification document example:
274
+ Consider the update document example:
275
275
276
276
.. code-block:: javascript
277
277
@@ -310,16 +310,16 @@ When passed as an argument to the :method:`update()
310
310
.. _documents-index:
311
311
.. _document-index-specification:
312
312
313
- Index Specification Documents
314
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
313
+ Index Documents
314
+ ~~~~~~~~~~~~~~~
315
315
316
316
Indexes optimize a number of key :doc:`read </core/read-operations>`
317
- and :doc:`write </core/write-operations>` operations. Index
318
- specification documents describe the fields to index on during the
319
- :doc:`index creation </reference/method/db.collection.ensureIndex>`. See :doc:`indexes
317
+ and :doc:`write </core/write-operations>` operations. Index documents
318
+ describe the fields to index on during the :doc:`index creation
319
+ </reference/method/db.collection.ensureIndex>`. See :doc:`indexes
320
320
</core/indexes>` for an overview of indexes.
321
321
322
- The index specification documents contain field and value pairs, in
322
+ The index documents contain field and value pairs, in
323
323
the following form:
324
324
325
325
.. code-block:: javascript
@@ -348,16 +348,16 @@ the index to create:
348
348
349
349
.. _documents-sort-order:
350
350
351
- Sort Order Specification Documents
352
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
351
+ Sort Order Documents
352
+ ~~~~~~~~~~~~~~~~~~~~
353
353
354
354
The sort order documents specify the order of documents that a
355
355
:method:`query() <db.collection.find()>` returns. Pass sort order
356
356
specification documents as an argument to the :method:`sort()
357
357
<cursor.sort()>` method. See the :method:`sort() <cursor.sort()>` page
358
358
for more information on sorting.
359
359
360
- The sort order specifications contain field and value pairs, in the following
360
+ The sort order documents contain field and value pairs, in the following
361
361
form:
362
362
363
363
.. code-block:: javascript
0 commit comments