Skip to content

Commit a73eb79

Browse files
Docsp 16489 todos (#95)
1 parent b30bc4c commit a73eb79

File tree

7 files changed

+41
-21
lines changed

7 files changed

+41
-21
lines changed

source/fundamentals/crud/read-operations/limit.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ Use ``limit()`` to cap the number of documents that a read operation returns.
1717
This instance method designates the maximum number of
1818
documents that a read operation can return. If there are not enough documents
1919
to reach the specified limit, it can return a smaller number.
20-
If you use ``limit()`` with the ``skip()`` (TODO: link) instance method, the skip applies
20+
If you use ``limit()`` with the ``skip()`` instance method, the skip applies
2121
first and the limit only applies to the documents left over after
22-
the skip.
22+
the skip. For more information on the ``skip()`` method, see our
23+
:doc:`guide on Skipping Returned Documents </fundamentals/crud/read-operations/skip/>`.
2324

2425
The examples below demonstrate, respectively, how to insert data into
2526
a collection, how to use ``limit()`` to restrict the number of returned documents,

source/fundamentals/crud/write-operations/embedded-arrays.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ The examples on this page use the ``findOneAndUpdate()`` method of the
3535
``MongoCollection`` class to retrieve and update the document. Each
3636
example uses an instance of the ``FindOneAndUpdateOptions`` class to
3737
have MongoDB retrieve the document after the update occurs. For
38-
more information on the ``findOneAndUpdate()`` method, see our Compound
39-
Operations guide <TODO>.
38+
more information on the ``findOneAndUpdate()`` method, see our
39+
:doc:`Compound Operations guide </fundamentals/crud/compound-operations/>`.
4040

4141
Specifying an Update
4242
--------------------

source/fundamentals/crud/write-operations/insert.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ methods.
2626

2727
The following sections focus on ``insertOne()`` and
2828
``insertMany()``. For information on how to use the ``bulkWrite()``
29-
method, see our ``Bulk Operations <TODO>`` page.
29+
method, see our
30+
:doc:`guide on Bulk Operations </fundamentals/crud/bulk/>`.
3031

3132
A Note About ``_id``
3233
--------------------

source/index.txt

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,20 @@ this section for users that are new to the MongoDB Java driver.
5151
Fundamentals
5252
------------
5353
Whether you are new to MongoDB or you want to brush up on the core
54-
concepts, you can check out the Fundamentals section which contains learning
55-
material on using the Java driver for the following topics:
56-
57-
* TODO
54+
concepts, you can check out the Fundamentals section which contains
55+
learning material on using the Java driver to do the following:
56+
57+
- :doc:`Connect to MongoDB </fundamentals/connection>`
58+
- :doc:`Authenticate with MongoDB </fundamentals/auth>`
59+
- :doc:`Use the Driver's Data Formats </fundamentals/data-formats>`
60+
- :doc:`Perform CRUD Operations </fundamentals/crud>`
61+
- :doc:`Simplify your Code with Builders </fundamentals/builders>`
62+
- :doc:`Perform Aggregations </fundamentals/aggregation>`
63+
- :doc:`Construct Indexes </fundamentals/indexes>`
64+
- :doc:`Specify Collations </fundamentals/collations>`
65+
- :doc:`Record Events in the Driver </fundamentals/logging>`
66+
- :doc:`Use Driver Events in your Code </fundamentals/monitoring>`
67+
- :doc:`Store and Retrieve Files In MongoDB </fundamentals/gridfs>`
5868

5969
API Documentation
6070
-----------------

source/usage-examples/find.txt

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,17 @@ the collection. If you do not include a filter, MongoDB returns all the
1111
documents in the collection.
1212

1313
For more information on querying MongoDB with the Java driver, see our
14-
guide (TODO: link) to querying documents.
14+
:doc:`guide on Querying Documents </fundamentals/crud/read-operations/retrieve/>`.
1515

16-
You can also chain methods to the ``find()`` method such as ``sort()``
17-
(TODO: link) which organizes the matched documents in a specified order and
18-
``projection()`` (TODO: link) which configures the included fields in the
19-
return document.
16+
You can also chain methods to the ``find()`` method such as ``sort()`` which
17+
organizes the matched documents in a specified order and
18+
``projection()`` which configures the included fields in the
19+
returned documents.
20+
21+
For more information on the ``sort()`` method, see our
22+
:doc:`guide on Sorting </fundamentals/crud/read-operations/sort/>`.
23+
For more information on the ``projection()`` method, see our
24+
:doc:`guide on Projections </fundamentals/crud/read-operations/project/>`
2025

2126
The ``find()`` method returns an instance of ``FindIterable``, a class
2227
that offers several methods to access, organize, and traverse the results.

source/usage-examples/findOne.txt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ include a filter, MongoDB returns all the documents in the collection. The
1212
``first()`` method returns the first matching document.
1313

1414
For more information on querying MongoDB with the Java driver, see our
15-
guide (TODO: Fundamentals > CRUD Operations > Read Operations) to querying documents.
15+
:doc:`guide on Querying Documents </fundamentals/crud/read-operations/retrieve/>`.
1616

1717
You can also chain other methods to the ``find()`` method
18-
such as ``sort()`` (TODO: Fundamentals > CRUD Operations > Read Operations > sort)
19-
which organizes the matched documents in a specified order, and
20-
``projection()`` (TODO: Fundamentals > CRUD Operations > specify fields)
21-
which configures the fields included in the returned documents.
18+
such as ``sort()`` which organizes the matched documents in a specified order, and
19+
``projection()`` which configures the fields included in the returned documents.
20+
21+
For more information on the ``sort()`` method, see our
22+
:doc:`guide on Sorting </fundamentals/crud/read-operations/sort/>`.
23+
For more information on the ``projection()`` method, see our
24+
:doc:`guide on Projections </fundamentals/crud/read-operations/project/>`
2225

2326
The ``find()`` method returns an instance of ``FindIterable``, a class
2427
that offers several methods to access, organize, and traverse the results.

source/usage-examples/updateOne.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ updates to the matching document:
6464
We use the ``Updates`` builder, a factory class that contains static
6565
helper methods to construct the update document. While you can pass an update
6666
document instead of using the builder, the builder provides type checking and
67-
simplified syntax. Read our Updates guide (TODO link) in the Builders section
68-
for more information.
67+
simplified syntax. For more information on the ``Updates`` builder, see our
68+
:doc:`guide on the Updates builder </fundamentals/builders/updates/>`.
6969

7070
.. include:: /includes/connect-guide-note.rst
7171

0 commit comments

Comments
 (0)