Skip to content

Commit a262c74

Browse files
committed
edits
1 parent 65592db commit a262c74

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

source/read/specify-a-query.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ is ``'yellow'``:
6363
:dedent:
6464

6565
.. output::
66-
66+
:visible: false
67+
6768
{ "_id" : 2, "name" : "bananas", "qty" : 7, "rating" : 4, "color" : "yellow", "type" : [ "cavendish" ] }
6869
{ "_id" : 4, "name" : "pineapple", "qty" : 3, "rating" : 5, "color" : "yellow" }
6970

@@ -107,6 +108,7 @@ that have a ``rating`` field value greater than ``2``:
107108
:dedent:
108109

109110
.. output::
111+
:visible: false
110112

111113
{ "_id" : 1, "name" : "apples", "qty" : 5, "rating" : 3, "color" : "red", "type" : [ "fuji", "honeycrisp" ] }
112114
{ "_id" : 2, "name" : "bananas", "qty" : 7, "rating" : 4, "color" : "yellow", "type" : [ "cavendish" ] }
@@ -141,6 +143,7 @@ value is ``'yellow'``:
141143
:dedent:
142144

143145
.. output::
146+
:visible: false
144147

145148
{ "_id" : 2, "name" : "bananas", "qty" : 7, "rating" : 4, "color" : "yellow", "type" : [ "cavendish" ] }
146149
{ "_id" : 3, "name" : "oranges", "qty" : 6, "rating" : 2, "type" : [ "naval", "mandarin" ] }
@@ -173,6 +176,7 @@ documents in which the ``type`` array field contains ``2`` elements:
173176
:dedent:
174177

175178
.. output::
179+
:visible: false
176180

177181
{ "_id" : 1, "name" : "apples", "qty" : 5, "rating" : 3, "color" : "red", "type" : [ "fuji", "honeycrisp" ] }
178182
{ "_id" : 3, "name" : "oranges", "qty" : 6, "rating" : 2, "type" : [ "naval", "mandarin" ] }
@@ -199,6 +203,7 @@ documents that have a ``color`` field:
199203
:dedent:
200204

201205
.. output::
206+
:visible: false
202207

203208
{ "_id" : 1, "name" : "apples", "qty" : 5, "rating" : 3, "color" : "red", "type" : [ "fuji", "honeycrisp" ] }
204209
{ "_id" : 2, "name" : "bananas", "qty" : 7, "rating" : 4, "color" : "yellow", "type" : [ "cavendish" ] }
@@ -235,6 +240,7 @@ two consecutive ``'p'`` characters:
235240
:dedent:
236241

237242
.. output::
243+
:visible: false
238244

239245
{ "_id" : 1, "name" : "apples", "qty" : 5, "rating" : 3, "color" : "red", "type" : [ "fuji", "honeycrisp" ] }
240246
{ "_id" : 4, "name" : "pineapples", "qty" : 3, "rating" : 5, "color" : "yellow" }
@@ -255,4 +261,4 @@ API Documentation
255261
To learn more about any of the methods or types discussed in this
256262
guide, see the following API documentation:
257263

258-
- `MongoDB\Collection::find() <{+api+}/method/MongoDBCollection-find/>`__
264+
- `MongoDB\\Collection::find() <{+api+}/method/MongoDBCollection-find/>`__

0 commit comments

Comments
 (0)