Skip to content

minor: correct spelling in links #1875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions source/tutorial/query-documents.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,14 @@ using :term:`dot notation`.

If you specify multiple conditions using the :query:`$elemMatch`
operator, the array must contain at least one element that satisfies
all the conditions. See :ref:`single-element-statisfies-criteria`.
all the conditions. See :ref:`single-element-satisfies-criteria`.

If you specify multiple conditions without using the
:query:`$elemMatch` operator, then some combination of the array
elements, not necessarily a single element, must satisfy all the
conditions; i.e. different elements in the array can satisfy different
parts of the conditions. See
:ref:`combination-of-elements-statisfies-criteria`.
:ref:`combination-of-elements-satisfies-criteria`.

Consider an ``inventory`` collection that contains the following
documents:
Expand Down Expand Up @@ -301,7 +301,7 @@ The operation returns the following documents:
Specify Multiple Criteria for Array Elements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. _single-element-statisfies-criteria:
.. _single-element-satisfies-criteria:

Single Element Satisfies the Criteria
`````````````````````````````````````
Expand All @@ -326,7 +326,7 @@ contains the element ``8`` which meets the criteria:
{ "_id" : 5, "type" : "food", "item" : "aaa", "ratings" : [ 5, 8, 9 ] }
{ "_id" : 7, "type" : "food", "item" : "ccc", "ratings" : [ 9, 5, 8 ] }

.. _combination-of-elements-statisfies-criteria:
.. _combination-of-elements-satisfies-criteria:

Combination of Elements Satisfies the Criteria
``````````````````````````````````````````````
Expand Down