Skip to content

Commit b480a37

Browse files
committed
MB review
1 parent 37c8403 commit b480a37

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

source/crud/query/retrieve.txt

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,18 @@ Find Multiple Documents Example: Full File
9999

100100
.. include:: /includes/usage-examples/example-intro.rst
101101

102-
The following example finds documents in the ``restaurants`` collection
103-
in which the ``cuisine`` is ``"Italian"``, returns a cursor that
104-
references the matched documents, then unpacks the documents into a slice.
105-
Select the **Struct** or **bson.D** tab to see the corresponding code:
102+
The following example finds all documents in the ``restaurants`` collection
103+
in which the value of ``cuisine`` is ``"Italian"``. The example returns a cursor that
104+
references the matched documents and unpacks the documents into a slice.
105+
Select the :guilabel:`Struct` or :guilabel:`bson.D` tab to see the corresponding code:
106106

107107
.. tabs::
108108

109109
.. tab :: Struct
110110
:tabid: structExample
111111

112-
The following code uses structs to find documents in the ``restaurants`` collection
113-
in which the ``cuisine`` is "Italian", returning all documents that match:
112+
The following code uses structs to find and return all documents in the
113+
``restaurants`` collection in which the value of ``cuisine`` is "Italian":
114114

115115
.. io-code-block::
116116
:copyable: true
@@ -133,9 +133,8 @@ Select the **Struct** or **bson.D** tab to see the corresponding code:
133133
.. tab :: bson.D
134134
:tabid: bsonDExample
135135

136-
The following code uses a bson.D type to find documents in the ``restaurants``
137-
collection in which the ``cuisine`` is "Italian", returning all documents
138-
that match:
136+
The following code uses a bson.D type to find and return all documents in
137+
the ``restaurants`` collection in which the value of ``cuisine`` is "Italian":
139138

140139
.. io-code-block::
141140
:copyable: true
@@ -248,18 +247,17 @@ Find One Document Example: Full File
248247

249248
.. include:: /includes/usage-examples/example-intro.rst
250249

251-
The following example finds a document that matches a query filter in the
252-
``restaurants`` collection. Select the **Struct** or **bson.D** tab to see the
253-
corresponding code:
250+
The following example finds a document in the ``restaurants`` collection that
251+
matches a query filter. Select the :guilabel:`Struct` or :guilabel:`bson.D`
252+
tab to see the corresponding code:
254253

255254
.. tabs::
256255

257256
.. tab :: Struct
258257
:tabid: structExample
259258

260-
The following code uses structs to find documents in the ``restaurants`` collection
261-
in which the ``name`` is "Bagels N Buns", returning the first document
262-
matched:
259+
The following code uses structs to find and return the first document in the
260+
``restaurants`` collection in which the value of ``name`` is "Bagels N Buns":
263261

264262
.. io-code-block::
265263
:copyable: true
@@ -286,10 +284,9 @@ corresponding code:
286284
.. tab :: bson.D
287285
:tabid: bsonDExample
288286

289-
The following code uses a bson.D type to find documents in the ``restaurants`` collection
290-
in which the ``name`` is "Bagels N Buns", returning the first document
291-
matched:
292-
287+
The following code uses a bson.D type to find and return the first document
288+
in the ``restaurants`` collection in which the value of ``name`` is "Bagels N Buns":
289+
293290
.. io-code-block::
294291
:copyable: true
295292

0 commit comments

Comments
 (0)