Skip to content

Commit 1569660

Browse files
committed
edits
1 parent 8115c4d commit 1569660

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

source/crud/query/specify-return-documents.txt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Overview
2323
In this guide, you can learn how to specify which documents to return from a read
2424
operation by using the following methods:
2525

26-
- ``setSort()``: Specifies the sort order for the returned documents.
27-
- ``setSkip()``: Specifies the number of documents to skip before returning query results.
28-
- ``setLimit()``: Specifies the maximum number of documents to return from a query.
26+
- ``SetSort()``: Specifies the sort order for the returned documents.
27+
- ``SetSkip()``: Specifies the number of documents to skip before returning query results.
28+
- ``SetLimit()``: Specifies the maximum number of documents to return from a query.
2929

3030
Sample Data for Examples
3131
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -297,9 +297,6 @@ on any field. To avoid skipping random documents, use the ``SetSort()``
297297
method to sort documents on a field with unique values before setting a
298298
skip option.
299299

300-
Example
301-
~~~~~~~
302-
303300
The following example performs a ``Find()`` operation with the following
304301
behavior:
305302

@@ -380,7 +377,7 @@ behavior:
380377
.. _golang-limit:
381378

382379
Limit
383-
~~~~~
380+
-----
384381

385382
To limit the number of documents returned from a query, pass the
386383
number of documents you want returned to the ``SetLimit()`` method of

0 commit comments

Comments
 (0)