Skip to content

Commit a8c3af5

Browse files
committed
edits
1 parent 3ec55d1 commit a8c3af5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/read/specify-documents-to-return.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ database from the :atlas:`Atlas sample datasets </sample-data>`. To access this
3838
from your PHP application, instantiate a ``MongoDB\Client`` that connects to an Atlas cluster
3939
and assign the following values to your ``db`` and ``collection`` variables:
4040

41-
.. literalinclude:: /includes/read/project.php
41+
.. literalinclude:: /includes/read/limit-skip-sort.php
4242
:language: php
4343
:dedent:
4444
:start-after: start-db-coll
@@ -54,7 +54,7 @@ Limit
5454

5555
To specify the maximum number of documents returned from a read operation, create
5656
an array that sets the ``limit`` option and pass the array as a parameter to the
57-
``MongoDB\Collection::find()`` or ``MongoDB\Collection::findOne()`` method.
57+
``MongoDB\Collection::find()`` method.
5858

5959
The following example finds all restaurants that have a ``cuisine`` field value
6060
of ``'Italian'`` and limits the results to ``5`` documents:
@@ -159,7 +159,7 @@ skipping the first ``10`` documents:
159159

160160
.. io-code-block::
161161
:copyable:
162-
162+
163163
.. input:: /includes/read/limit-skip-sort.php
164164
:start-after: start-limit-sort-skip
165165
:end-before: end-limit-sort-skip

0 commit comments

Comments
 (0)