Skip to content

Commit 9de137f

Browse files
committed
NR PR fixes 2
1 parent 71f642b commit 9de137f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

source/get-started/pojo-qs.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Quick Start (POJO Examples)
77
.. contents:: On this page
88
:local:
99
:backlinks: none
10-
:depth: 1
10+
:depth: 2
1111
:class: singlecol
1212

13-
This guide follows from the :ref:`Quick Start guide
13+
This guide is similar to the :ref:`Quick Start guide
1414
<javars-quickstart>` but uses Plain Old Java Objects, or POJOs, to
15-
model documents.
15+
model documents instead of the generic ``Document`` class.
1616

1717
The code examples in this guide come from the `PojoQuickTour.java
1818
<{+driver-source-gh+}/blob/master/driver-reactive-streams/src/examples/reactivestreams/tour/PojoQuickTour.java>`__
@@ -197,10 +197,10 @@ filter objects, the driver provides ``Filters`` helper methods.
197197
.. important::
198198

199199
When querying POJOs, you *must* query against the document field name
200-
and not the POJO property name. By default, they are the same but it
200+
and not the POJO property name. They are the same by default, but it
201201
is possible to change how POJO property names are mapped.
202202

203-
Get A Single Person That Matches a Filter
203+
Get a Single Person That Matches a Filter
204204
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205205

206206
The following example finds the first ``Person`` in the database that
@@ -248,7 +248,7 @@ Pass the following parameters to the methods:
248248
the available operators, see :manual:`Update Operators
249249
</reference/operator/update/>` in the Server manual.
250250

251-
The update methods return an ``UpdateResult`` type which provides
251+
The update methods return an ``UpdateResult`` type that provides
252252
information about the operation, including the number of documents
253253
modified by the update.
254254

@@ -258,7 +258,7 @@ Update a Single Person
258258
To update a single ``Person``, use the ``updateOne()`` method.
259259

260260
The following example updates a ``Person`` named ``"Ada Byron"`` by
261-
setting their age to ``23`` and name to ``Ada Lovelace``:
261+
setting their age to ``23`` and name to ``"Ada Lovelace"``:
262262

263263
.. code-block:: java
264264

@@ -305,7 +305,7 @@ Pass a filter object to match the document or
305305
documents to delete. To specify an empty filter, use an empty
306306
``Document`` object.
307307

308-
The delete methods return a ``DeleteResult`` type which provides
308+
The delete methods return a ``DeleteResult`` type that provides
309309
information about the operation, including the number of documents
310310
deleted.
311311

source/get-started/quickstart.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Quick Start
77
.. contents:: On this page
88
:local:
99
:backlinks: none
10-
:depth: 1
10+
:depth: 2
1111
:class: singlecol
1212

1313
The code examples in this guide come from the `QuickTour.java
@@ -440,7 +440,7 @@ Pass the following parameters to the methods:
440440
the available operators, see :manual:`Update Operators
441441
</reference/operator/update/>` in the Server manual.
442442

443-
The update methods return an ``UpdateResult`` type which provides
443+
The update methods return an ``UpdateResult`` type that provides
444444
information about the operation, including the number of documents
445445
modified by the update.
446446

@@ -482,7 +482,7 @@ documents to delete. To facilitate creating filter objects, the driver
482482
provides ``Filters`` helper methods. To specify an empty filter and
483483
match all documents in the collection, use an empty ``Document`` object.
484484

485-
The delete methods return a ``DeleteResult`` which provides
485+
The delete methods return a ``DeleteResult`` that provides
486486
information about the operation, including the number of documents
487487
deleted.
488488

0 commit comments

Comments
 (0)