@@ -50,29 +50,29 @@ Comparison
50
50
.. TODO move the following note into a querying page, and link in
51
51
every above included query operator page.
52
52
53
- You may combine comparison operators to specify ranges:
53
+ You may combine comparison operators to specify ranges:
54
54
55
- .. code-block:: javascript
55
+ .. code-block:: javascript
56
56
57
- db.collection.find( { field: { $gt: value1, $lt: value2 } } );
57
+ db.collection.find( { field: { $gt: value1, $lt: value2 } } );
58
58
59
- This statement returns all documents with ``field`` between
60
- ``value1`` and ``value2``.
59
+ This statement returns all documents with ``field`` between
60
+ ``value1`` and ``value2``.
61
61
62
- .. note::
62
+ .. note::
63
63
64
- Fields containing arrays match conditional operators, if only one
65
- item matches. Therefore, the following query:
64
+ Fields containing arrays match conditional operators, if only one
65
+ item matches. Therefore, the following query:
66
66
67
- .. code-block:: javascript
67
+ .. code-block:: javascript
68
68
69
- db.collection.find( { field: { $gt:0, $lt:2 } } );
69
+ db.collection.find( { field: { $gt:0, $lt:2 } } );
70
70
71
- Will match a document that contains the following field:
71
+ Will match a document that contains the following field:
72
72
73
- .. code-block:: javascript
73
+ .. code-block:: javascript
74
74
75
- { field: [-1,3] }
75
+ { field: [-1,3] }
76
76
77
77
.. index:: query selectors; logical
78
78
.. _query-selectors-logical:
@@ -136,16 +136,12 @@ Geospatial
136
136
.. include:: operator/maxDistance.txt
137
137
:start-after: mongodb
138
138
139
- .. include:: operator/uniqueDocs.txt
140
- :start-after: mongodb
141
-
142
139
.. include:: operator/nearSphere.txt
143
140
:start-after: mongodb
144
141
145
142
.. include:: operator/centerSphere.txt
146
143
:start-after: mongodb
147
144
148
-
149
145
.. index:: query selectors; array
150
146
.. _query-selectors-array:
151
147
0 commit comments