@@ -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
1717The 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
206206The 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
252252information about the operation, including the number of documents
253253modified by the update.
254254
@@ -258,7 +258,7 @@ Update a Single Person
258258To update a single ``Person``, use the ``updateOne()`` method.
259259
260260The 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
305305documents 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
309309information about the operation, including the number of documents
310310deleted.
311311
0 commit comments