Skip to content

Commit 8512ef2

Browse files
author
Chris Cho
authored
DOCSP-16493: add overview section to all fundamentals pages (#109)
1 parent a73eb79 commit 8512ef2

File tree

16 files changed

+73
-29
lines changed

16 files changed

+73
-29
lines changed

source/fundamentals/auth.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Authentication Mechanisms
1010
:depth: 2
1111
:class: singlecol
1212

13+
Overview
14+
--------
15+
1316
In this guide, we show you how to authenticate with MongoDB using each
1417
**authentication mechanism** available in the MongoDB Community Edition.
1518
Authentication mechanisms are processes by which the driver and server

source/fundamentals/builders.txt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Builders
33
========
44

55
.. default-domain:: mongodb
6-
6+
77
.. toctree::
88

99
/fundamentals/builders/aggregates
@@ -19,16 +19,16 @@ Builders
1919
:depth: 2
2020
:class: singlecol
2121

22-
This section includes guides on how to use each of the available
23-
builders, and demonstrates the utility the Java driver builder classes
24-
provide.
25-
2622
Overview
2723
--------
2824

25+
This section includes guides on how to use each of the available
26+
builders, and demonstrates the utility the Java driver builder classes
27+
provide.
28+
2929
The Java driver provides classes to simplify the process for developers
3030
to use CRUD operations and the Aggregation API. The static utility methods allow you
31-
to build a query more efficiently.
31+
to build a query more efficiently.
3232

3333
Why Use Builders?
3434
-----------------
@@ -47,15 +47,15 @@ With the builder classes, you write operators as methods. The IDE
4747
instantly underlines and gives you a red bar on the right indicating
4848
something is wrong. While developing, the IDE also shows you with the
4949
methods you can use. It automatically completes your code with
50-
placeholder parameters once you select which method you want to use.
50+
placeholder parameters once you select which method you want to use.
5151

5252
Scenario
5353
--------
5454

5555
Imagine we want to send a marketing email to all users in our ``users``
5656
collection with the following criteria:
5757

58-
- Users that identify as "female" gender
58+
- Users that identify as "female" gender
5959
- Users that are older than "29"
6060

6161
We only want their email address, so we'll ensure our query doesn't
@@ -99,3 +99,4 @@ Available Builders
9999
- :ref:`Updates <updates-builders>` for building updates.
100100
- :ref:`Aggregates <aggregates-builders>` for building aggregation pipelines.
101101
- :ref:`Indexes <indexes-builders>` for creating index keys.
102+

source/fundamentals/builders/aggregates.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Aggregates Builders
1212

1313
.. _aggregates-builders:
1414

15+
Overview
16+
--------
17+
1518
This guide provides an overview of the :java-core-api:`Aggregates </com/mongodb/client/model/Aggregates>`
1619
class which provides static factory methods that build :manual:`aggregation pipeline
1720
stages </reference/operator/aggregation/>`.

source/fundamentals/connection.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Connection Guide
1515
:depth: 2
1616
:class: singlecol
1717

18+
Overview
19+
--------
20+
1821
This guide shows you how to connect to a MongoDB instance or replica set
1922
deployment using the driver.
2023

source/fundamentals/connection/jndi.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Java Naming and Directory Interface (JNDI)
77
:depth: 2
88
:class: singlecol
99

10+
Overview
11+
--------
12+
1013
MongoClientFactory includes a `JNDI
1114
<http://docs.oracle.com/javase/8/docs/technotes/guides/jndi/index.html>`__
1215
``ObjectFactory`` implementation that returns ``MongoClient`` instances

source/fundamentals/connection/tls.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Enable TLS/SSL on a Connection
88
:depth: 2
99
:class: singlecol
1010

11+
Overview
12+
--------
13+
1114
You can connect to MongoDB instances with the
1215
`TLS/SSL <https://en.wikipedia.org/wiki/Transport_Layer_Security>`__
1316
security protocol using the underlying TLS/SSL support in the JDK. To

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ Access Data From a Cursor
99
:backlinks: none
1010
:depth: 2
1111
:class: singlecol
12-
12+
13+
Overview
14+
--------
15+
1316
Read operations that return multiple documents do not immediately return
1417
all values matching the query. Because a query can potentially match
1518
large number of documents, we need to be able to access or store the

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Specify Which Fields to Return
1010
:depth: 1
1111
:class: singlecol
1212

13+
Overview
14+
--------
15+
1316
In this guide, you will learn how to control which fields appear in
1417
documents returned by read operations.
1518

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Skip Returned Results
1010
:depth: 2
1111
:class: singlecol
1212

13+
Overview
14+
--------
15+
1316
In this guide, we show you how to skip a specified number of returned results.
1417

1518
You can skip results on the returned results of a query by using the

source/fundamentals/crud/write-operations/change-a-document.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Change a Document
1010
:depth: 2
1111
:class: singlecol
1212

13+
Overview
14+
--------
15+
1316
In this page, you can learn how to change documents in a MongoDB collection
1417
using two distinct operation types:
1518

0 commit comments

Comments
 (0)