Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
8193fda
(DOCSP-12590): Fix broken links
jeff-allen-mongo Oct 6, 2020
bccdacc
add missing alt tags to figure directives
andf-mongodb Oct 8, 2020
e8bfc4f
unlink mongosniff
andf-mongodb Oct 8, 2020
e9052e6
correct mongo shell links
andf-mongodb Oct 8, 2020
81df14c
correct mongod binary link
andf-mongodb Oct 8, 2020
583c260
remove install_compass link
andf-mongodb Oct 8, 2020
04a6bce
link mongo.exe to only mongo binary page
andf-mongodb Oct 8, 2020
98ee1c4
add missing $ to $[<identifier>] link
andf-mongodb Oct 8, 2020
070ce0c
fix lastHeartbeat and lastHeartbeatRecv capitalization in links
andf-mongodb Oct 8, 2020
7dac28e
unrelated MONGODB-CR typo fix
andf-mongodb Oct 8, 2020
37d89ed
fix exe links
andf-mongodb Oct 8, 2020
1ddae5a
adds additional missing alt tags to figures
andf-mongodb Oct 8, 2020
6fe7bdf
fix broken [<identifier>] links
andf-mongodb Oct 8, 2020
58e2f18
fix members[n] links
andf-mongodb Oct 8, 2020
0411049
fix connPoolStats.replicaSets.[replicaSets].hosts links
andf-mongodb Oct 8, 2020
19eba58
fix dupe replSetGetStatus.members[n].self entry
andf-mongodb Oct 8, 2020
895817c
fix dupe readconcern target
andf-mongodb Oct 8, 2020
88688f8
fix glossary term capitalizations
andf-mongodb Oct 8, 2020
2b7ee7e
fix most expression link issues
andf-mongodb Oct 8, 2020
83de68d
fix some authaction links
andf-mongodb Oct 8, 2020
2702bfa
remove link attempt to PyMongo for general Python method re.compile
andf-mongodb Oct 8, 2020
a5555da
fix most :setting: links
andf-mongodb Oct 8, 2020
076b2dd
mongooplog removed in v3.6
andf-mongodb Oct 8, 2020
8664ef4
fix BSON binary type links
andf-mongodb Oct 8, 2020
74a96be
correct sh.status.active-mongoses ambig reference
andf-mongodb Oct 13, 2020
60b059b
fix output example indentation
andf-mongodb Oct 13, 2020
fe9d94d
fix currentOp ambig targets
andf-mongodb Oct 13, 2020
6c9a523
unlink removed cmd authSchemaUpgrade
andf-mongodb Oct 13, 2020
a738002
unlink removed cmd cloneCollection
andf-mongodb Oct 13, 2020
b927b4e
unlink removed cmd closeAllDatabases
andf-mongodb Oct 13, 2020
a1490b9
unlink removed cmd copydb
andf-mongodb Oct 13, 2020
8217baf
unlink removed cmd createIndex .. which isn't createIndexes
andf-mongodb Oct 13, 2020
dcf6043
fix cmd getLastError
andf-mongodb Oct 13, 2020
b58d2d7
fix cmd dbHash capitalization
andf-mongodb Oct 13, 2020
9b0dac3
unlink removed cmd eval
andf-mongodb Oct 13, 2020
7712176
fix cmd findAndModify capitalization
andf-mongodb Oct 13, 2020
f016ca4
fix cmd findAndModify capitalization - another instance
andf-mongodb Oct 13, 2020
71bfbc2
fix cmd getCollectionInfos to method
andf-mongodb Oct 13, 2020
e0396a6
fix cmd getLastError.waited to data
andf-mongodb Oct 13, 2020
17a46d4
fix cmd getParameters to singular
andf-mongodb Oct 13, 2020
7a73ffd
unlink removed cmd indexStats
andf-mongodb Oct 13, 2020
cf72029
fix cmd isSelf to include underscore
andf-mongodb Oct 13, 2020
106331b
fix cmd listCollection to plural
andf-mongodb Oct 13, 2020
ad487d8
fix cmd listDatabase to plural
andf-mongodb Oct 13, 2020
347b47f
fix cmd mongod to binary
andf-mongodb Oct 13, 2020
f0d53fa
unlink removed cmd planCacheListPlans
andf-mongodb Oct 13, 2020
37d5112
unlink removed cmd planCacheListQueryShapes
andf-mongodb Oct 13, 2020
53523af
unlink removed cmd repairDatabase
andf-mongodb Oct 13, 2020
5cc6c1d
unlink removed cmd replSetHeartbeat
andf-mongodb Oct 13, 2020
0afdda4
fix typo cmd replSetInitiate
andf-mongodb Oct 13, 2020
4515278
unlink removed cmd restoreDatabase
andf-mongodb Oct 13, 2020
6fa8bc9
unlink removed cmd resync
andf-mongodb Oct 13, 2020
b411346
fix cmd setParameters to singular
andf-mongodb Oct 13, 2020
f4abf8a
fix cmd splitAt to method
andf-mongodb Oct 13, 2020
e3c6f79
fix cmd stats to method
andf-mongodb Oct 13, 2020
243ae04
unlink removed cmd storageDetails
andf-mongodb Oct 13, 2020
5ef6027
unlink removed cmd text
andf-mongodb Oct 13, 2020
4b6590b
unlink removed cmd touch
andf-mongodb Oct 13, 2020
19377f2
fix method Bulk.find.upsert()
andf-mongodb Oct 13, 2020
867e487
fix method getKeyVault() malformed link
andf-mongodb Oct 13, 2020
f045ec7
unlink removed method PlanCache.getPlansByQuery()
andf-mongodb Oct 13, 2020
58ce5e6
unlink removed method PlanCache.listQueryShapes()
andf-mongodb Oct 13, 2020
7a79f96
fix method Session.getOptions() malformed link
andf-mongodb Oct 13, 2020
b9ffbfb
fix method db.collection.watch() malformed link
andf-mongodb Oct 13, 2020
c4a3931
fix method db.copyDatabase() malformed link
andf-mongodb Oct 13, 2020
07df4ea
fix method cursor.readPref() malformed link - setReadPref is for a Mo…
andf-mongodb Oct 13, 2020
70d6048
unlink removed method cursor.showDiskLoc()
andf-mongodb Oct 13, 2020
6bccb31
unlink removed method db.addUser()
andf-mongodb Oct 13, 2020
f754cf2
unlink removed method db.cloneCollection()
andf-mongodb Oct 13, 2020
34850ad
fix method db.collection.explain() malformed link
andf-mongodb Oct 13, 2020
4391e57
fix method db.help() malformed link
andf-mongodb Oct 13, 2020
78c8c32
fix methods db.createRole, db.createUser, db.dropAllUsers malformed d…
andf-mongodb Oct 13, 2020
5624695
fix method db.dropUser malformed definition, breaking all links
andf-mongodb Oct 13, 2020
9a8b4c3
fix method db.getMongo() malformed link
andf-mongodb Oct 13, 2020
9bcd81f
fix method db.serverStatus() malformed link
andf-mongodb Oct 13, 2020
059168b
fix methods db.grantPrivilegesToRole, db.grantRolesToRole, db.revokeP…
andf-mongodb Oct 13, 2020
ea69540
fix method db.dropAllRoles() malformed link
andf-mongodb Oct 13, 2020
7f96592
fix method db.grantPrivilegesToRole() malformed link
andf-mongodb Oct 13, 2020
6168cb1
fix method db.grantRolesToRole() malformed link
andf-mongodb Oct 13, 2020
9e46be7
fix method db.grantRolesToUser() malformed definitions, breaking all …
andf-mongodb Oct 13, 2020
a397455
fix method db.revokeRolesFromRole() malformed link
andf-mongodb Oct 13, 2020
3ee877c
unlink removed method db.loadServerScripts()
andf-mongodb Oct 13, 2020
e6a6fd5
unlink removed method db.serverShutdown()
andf-mongodb Oct 13, 2020
f84ce7f
Revert "unlink removed method db.serverShutdown()"
andf-mongodb Oct 13, 2020
7867308
fix method db.shutdownServer() - wrong in SERVER ticket name
andf-mongodb Oct 13, 2020
d9b61d0
fix method rs.stepDown() capitalization
andf-mongodb Oct 13, 2020
3f8ec1a
unlink removed method sh.getRecentMigrations
andf-mongodb Oct 13, 2020
dc3ff2e
fix method db.updateRole() malformed link
andf-mongodb Oct 13, 2020
ee6de87
fix method db.watch() malformed link
andf-mongodb Oct 13, 2020
569a347
fix method db.serverStatus() capitalization
andf-mongodb Oct 13, 2020
4df56ea
fix method db.getMongo() malformed link
andf-mongodb Oct 13, 2020
78352d1
fix methods db.grantRolesToUser() and db.revokeRolesFromUser() malfor…
andf-mongodb Oct 13, 2020
fd093a9
unlink undocumented disableLogicalSessionCacheRefresh param
andf-mongodb Oct 13, 2020
982519d
unlink removed logicalSessionRefreshMinutes param, update ref to Mill…
andf-mongodb Oct 13, 2020
dfbcb64
unlink removed newCollectionsUsePowerOf2Sizes param
andf-mongodb Oct 13, 2020
42307a1
remove test bump
andf-mongodb Oct 13, 2020
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
2 changes: 0 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
MongoDB Documentation
=====================

bump

This repository contains a major revision of the MongoDB documentation,
currently accessible at http://docs.mongodb.com/manual/. You can build
the documentation locally if you have `giza
Expand Down
2 changes: 1 addition & 1 deletion source/administration/configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ The :setting:`~storage.dbPath` value controls the location of the
:binary:`~bin.mongod` instance's data directory. Ensure that each database
has a distinct and well labeled data directory. The
:setting:`~processManagement.pidFilePath` controls where :binary:`~bin.mongod` process
places it's :term:`process id <pid>` file. As this tracks the specific
places it's :term:`process id (PID) <PID>` file. As this tracks the specific
:binary:`~bin.mongod` file, it is crucial that file be unique and well
labeled to make it easy to start and stop these processes.

Expand Down
8 changes: 4 additions & 4 deletions source/changeStreams.txt
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ document.

To return the most current majority-committed version of the updated
document, pass ``"FullDocument = ChangeStreamFullDocumentOption.UpdateLookup"`` to the
``collection.Watch()`` method.
:method:`db.collection.watch()` method.

In the example below, all update operations notifications
include a ``FullDocument`` field that represents the *current*
Expand All @@ -585,7 +585,7 @@ document.

To return the most current majority-committed version of the updated
document, pass ``{ fullDocument: 'updateLookup' }`` to the
:method:`collection.watch()` method.
:method:`db.collection.watch()` method.

In the example below, all update operations notifications
include a ``fullDocument`` field that represents the *current*
Expand Down Expand Up @@ -613,7 +613,7 @@ document.
To return the most current
majority-committed version of the updated document, pass
``"fullDocument' => \MongoDB\Operation\ChangeStreamCommand::FULL_DOCUMENT_UPDATE_LOOKUP"``
to the :method:`watch()` method.
to the :method:`db.watch()` method.

In the example below, all update operations notifications
include a ``fullDocument`` field that represents the *current*
Expand All @@ -629,7 +629,7 @@ document.
content: |
To return the most current majority-committed version of the updated
document, pass ``full_document: 'updateLookup'`` to the
:method:`watch()` method.
:method:`db.watch()` method.

In the example below, all update operations notifications
include a ``full_document`` field that represents the *current*
Expand Down
2 changes: 1 addition & 1 deletion source/core/document.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ For examples querying arrays, see:

- :update:`$[]` all positional operator for update operations,

- :update:`$[/<identifier/>]` filtered positional operator for update operations,
- :update:`$[\<identifier\>]` filtered positional operator for update operations,

- :update:`$` positional operator for update operations,

Expand Down
2 changes: 1 addition & 1 deletion source/core/hashed-sharding.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ The field you choose as your hashed shard key should have a good
Hashed keys are ideal for shard keys with fields that change
:ref:`monotonically<shard-key-monotonic>` like :term:`ObjectId` values or
timestamps. A good example of this is the default ``_id`` field, assuming
it only contains :term:`ObjectID` values.
it only contains :term:`ObjectId` values.

To shard a collection using a hashed shard key, see
:ref:`deploy-hashed-sharded-cluster-shard-collection`.
Expand Down
4 changes: 2 additions & 2 deletions source/core/index-ttl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ If the field is an array, and there are multiple date values in the
index, MongoDB uses *lowest* (i.e. earliest) date value in the array to
calculate the expiration threshold.

If the indexed field in a document is not a :term:`date <bson types>`
If the indexed field in a document is not a :term:`date <BSON types>`
or an array that holds a date value(s), the document will not expire.

If a document does not contain the indexed field, the document will not
Expand Down Expand Up @@ -86,7 +86,7 @@ Replica Sets

On :term:`replica set <replica set>` members, the TTL background thread *only*
deletes documents when a member is in state :term:`primary`. The TTL background
thread is idle when a member is in state :term:`secondary`. :term:`Secondary` members replicate
thread is idle when a member is in state :term:`secondary`. :term:`Secondary <secondary>` members replicate
deletion operations from the primary.

Support for Queries
Expand Down
8 changes: 4 additions & 4 deletions source/core/query-plans.txt
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,11 @@ The ``queryHash`` and ``planCacheKey`` are available in:

- :pipeline:`$planCacheStats` aggregation stage (*New in MongoDB 4.2*)

- :method:`PlanCache.listQueryShapes()`
method/:dbcommand:`planCacheListQueryShapes` command
- ``PlanCache.listQueryShapes()``
method/``planCacheListQueryShapes`` command

- :method:`PlanCache.getPlansByQuery()`
method/:dbcommand:`planCacheListPlans` command
- ``PlanCache.getPlansByQuery()``
method/``planCacheListPlans`` command

.. _index-filters:

Expand Down
4 changes: 2 additions & 2 deletions source/core/security-client-side-encryption.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Consider the following document:
With client-side field level encryption, the application can
specifically encrypt sensitive information like the ``ssn``
and ``phone``. Encrypted fields are stored as
:bsontype:`binary data <data_binary>` with
:bsontype:`binary data <Binary>` with
`subtype 6 <https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/subtype6.rst>`_:

.. code-block:: json
Expand Down Expand Up @@ -300,7 +300,7 @@ collection. Use the :ref:`automatic encryption rule keywords
<field-level-encryption-json-schema>` with the
:query:`$jsonSchema` validation object to indicate which fields require
encryption. The server rejects any write operations to that collection
where the specified fields are not :bsontype:`Binary (BinData) <binary>`
where the specified fields are not :bsontype:`Binary (BinData) <Binary>`
subtype 6 objects.

For example, the following :dbcommand:`collMod` command modifies
Expand Down
15 changes: 8 additions & 7 deletions source/core/security-ldap-external.txt
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ configuration file:

Defaults to ``DIGEST-MD5``.

- **NO**, unless setting :setting:`~security.ldap.bindMethod` to
- **NO**, unless setting :setting:`~security.ldap.bind.method` to
``sasl``, and you need different or additional SASL mechanisms.

* - :setting:`security.ldap.bind.useOSDefaults`
Expand All @@ -308,10 +308,11 @@ configuration file:

* - :setting:`security.ldap.userToDNMapping`

- Depending on your :setting:`~security.ldap.queryTemplate`, the
authenticated client username may require transformation to support the
LDAP query URL. :setting:`~security.ldap.userToDNMapping` allows
MongoDB to transform incoming usernames.
- Depending on your :setting:`~security.ldap.authz.queryTemplate`,
the authenticated client username may require transformation to
support the LDAP query URL.
:setting:`~security.ldap.userToDNMapping` allows MongoDB to
transform incoming usernames.

- **NO**, unless client usernames require transformation into LDAP DNs.

Expand Down Expand Up @@ -446,7 +447,7 @@ MongoDB Roles for LDAP Authorization
------------------------------------

MongoDB maps each returned group distinguished name (DN) returned by
the LDAP :setting:`query <ldap.security.authz.queryTemplate>` to a
the LDAP :setting:`query <security.ldap.authz.queryTemplate>` to a
:ref:`role <authorization>` on the ``admin`` database.

If MongoDB acquires a group whose DN **exactly** matches the name of an
Expand Down Expand Up @@ -494,7 +495,7 @@ privileges to the user.
After authenticating a user ``[email protected]`` against the
``$external`` database, the MongoDB server performs a query derived from
the configured :setting:`query template
<ldap.security.authz.queryTemplate>` to retrieve the groups which include
<security.ldap.authz.queryTemplate>` to retrieve the groups which include
the authenticated user as a member. In this example, the MongoDB server
retrieves the following group DNs for the user:

Expand Down
14 changes: 8 additions & 6 deletions source/core/security-ldap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,14 @@ configuration file:
- The password used to authenticate to an LDAP server when using
:setting:`~security.ldap.bind.queryUser`.

- **NO**, unless specifying :setting:`~security.ldap.queryUser`
- **NO**, unless specifying
:setting:`~security.ldap.bind.queryUser`.

* - :setting:`security.ldap.bind.useOSDefaults`

- Windows MongoDB deployments can use the operating system credentials in
place of :setting:`~security.ldap.queryUser` and
:setting:`~security.ldap.queryPassword` for authenticating or binding
place of :setting:`~security.ldap.bind.queryUser` and
:setting:`~security.ldap.bind.queryPassword` for authenticating or binding
as when connecting to the LDAP server.

- **NO**, unless replacing :setting:`~security.ldap.bind.queryUser` and
Expand All @@ -288,9 +289,10 @@ configuration file:
or an LDAP query template.

If you specify a :setting:`~security.ldap.userToDNMapping`
transformation that uses LDAP queries as part of the transformation,
you must also specify a :setting:`~security.ldap.queryUser` with
the appropriate level of permissions for the LDAP server
transformation that uses LDAP queries as part of the
transformation, you must also specify a
:setting:`~security.ldap.bind.queryUser` with the appropriate
level of permissions for the LDAP server

- **NO**, unless client authenticate using usernames that require
transformation.
Expand Down
2 changes: 1 addition & 1 deletion source/core/sharded-cluster-shards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ replica set.
The :binary:`~bin.mongos` selects the primary shard when creating a new database
by picking the shard in the cluster that has the least amount of data.
:binary:`~bin.mongos` uses the ``totalSize`` field returned by the
:dbcommand:`listDatabase` command as a part of the selection criteria.
:dbcommand:`listDatabases` command as a part of the selection criteria.

.. include:: /images/sharded-cluster-primary-shard.rst

Expand Down
4 changes: 2 additions & 2 deletions source/geospatial-queries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ collections:
.. |geo-operation| replace:: :query:`$near` and :query:`$nearSphere`

You can also query for geospatial data for a sharded cluster using
:query:`$geoWithin` and :query:`$geoIntersect`.
:query:`$geoWithin` and :query:`$geoIntersects`.

Covered Queries
~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -341,7 +341,7 @@ farthest:
}
)

The following operation uses the :pipeline:`geoNear` aggregation
The following operation uses the :pipeline:`$geoNear` aggregation
operation to return documents that match the query filter ``{ category:
"Parks" }``, sorted in order of nearest to farthest to the specified
GeoJSON point:
Expand Down
2 changes: 1 addition & 1 deletion source/includes/access-change-password.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
To modify the password of another user on a database, you must have the
:authaction:`changeAnyPassword` :ref:`action <security-user-actions>`
:authaction:`changePassword` :ref:`action <security-user-actions>`
on that database.
2 changes: 1 addition & 1 deletion source/includes/access-update-user.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ You must have the :authaction:`grantRole` :ref:`action
<security-user-actions>` on a role's database to add a role to a user.

To change another user's ``pwd`` or ``customData`` field, you must have
the :authaction:`changeAnyPassword` and :authaction:`changeAnyCustomData`
the :authaction:`changePassword` and :authaction:`changeCustomData`
:ref:`actions <security-user-actions>` respectively on that user's database.
5 changes: 3 additions & 2 deletions source/includes/considerations-deploying-replica-set.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ Hostnames
IP Binding
~~~~~~~~~~

Use the :setting:`bind_ip` option to ensure that MongoDB listens for
connections from applications on configured addresses.
Use the :option:`--bind_ip <mongod --bind_ip>` option to ensure that
MongoDB listens for connections from applications on configured
addresses.

.. versionchanged:: 3.6

Expand Down
4 changes: 4 additions & 0 deletions source/includes/driver-examples/driver-example-delete-58.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
to access the :ref:`Table View <documents-table-view>`:

.. figure:: /images/compass-table-btn-click-2.png
:alt: Compass Table View button

.. raw:: html

Expand All @@ -32,6 +33,7 @@
{ item: "paper" }

.. figure:: /images/compass-delete-paper-find.png
:alt: Compass Find button

.. raw:: html

Expand All @@ -45,6 +47,7 @@
<br>

.. figure:: /images/compass-delete-button-click.png
:alt: Compass Delete Document button

.. raw:: html

Expand All @@ -59,6 +62,7 @@
<br>

.. figure:: /images/compass-delete-confirm.png
:alt: Compass Confirm Deletion button

.. raw:: html

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- id: compass
content: |
.. figure:: /images/compass-insert-document-inventory.png
:alt: Compass insert new document into collection

- id: python
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- id: compass
content: |
.. figure:: /images/compass-query-collection.png
:alt: Query for matching documents in a collection

Specify a filter in the MongoDB Compass query bar and click
:guilabel:`Find` to execute the query.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{ status: { $in: [ "A", "D" ] } }

.. figure:: /images/compass-find-filter-query-op.png
:alt: Query using query operators

- id: python
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{ status: "A", qty: { $lt: 30 } }

.. figure:: /images/compass-find-filter-and.png
:alt: Query using multiple conditions with AND

- id: python
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{ $or: [ { status: "A" }, { qty: { $lt: 30 } } ] }

.. figure:: /images/compass-find-filter-or.png
:alt: Query using OR

- id: python
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
{ status: "A", $or: [ { qty: { $lt: 30 } }, { item: /^p/ } ] }

.. figure:: /images/compass-find-filter-and-or.png
:alt: Query using AND as well as OR


- id: python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{ size: { h: 14, w: 21, uom: "cm" } }

.. figure:: /images/compass-match-embedded.png
:alt: Query embedded field

- id: python
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- id: compass
content: |
.. figure:: /images/compass-find-embedded-no-match.png
:alt: Query embedded field

- id: python
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{ "size.uom": "in" }

.. figure:: /images/compass-find-nested-field.png
:alt: Query single nested field

- id: python
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{ "size.h": { $lt: 15 } }

.. figure:: /images/compass-find-nested-query-op.png
:alt: Query single nested field

- id: python
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{ "size.h": { $lt: 15 }, "size.uom": "in", status: "D" }

.. figure:: /images/compass-find-embedded-and.png
:alt: Query multiple nested fields

- id: python
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{ tags: ["red", "blank"] }

.. figure:: /images/compass-array-match-exact.png
:alt: Query array matching exactly

- id: python
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{ tags: { $all: ["red", "blank"] } }

.. figure:: /images/compass-array-match-all.png
:alt: Query array matching all criteria

- id: python
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{ tags: "red" }

.. figure:: /images/compass-array-elem-match.png
:alt: Query array matching multiple criteria

- id: python
content: |
Expand Down
Loading