Skip to content

Commit b09530d

Browse files
committed
DOCSP-47058: Shift TOC
1 parent d53a70b commit b09530d

30 files changed

+120
-412
lines changed

snooty.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ toc_landing_pages = [
2121
"/reference/class/MongoDBModelDatabaseInfo",
2222
"/reference/class/MongoDBModelIndexInfo",
2323
"/connect",
24-
"/read",
2524
"/databases-collections",
26-
"/write",
2725
"/indexes",
2826
"/security",
2927
"/data-formats",

source/connect.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ Connect to MongoDB
2323
:maxdepth: 1
2424

2525
Create a Client </connect/client>
26-
Specify Connection Options </connect/connection-options>
2726
Choose a Connection Target </connect/connection-targets>
28-
Configure TLS </connect/tls>
29-
Stable API </connect/stable-api>
27+
Connection Options </connect/connection-options>
28+
Connect with AWS Lambda </connect/aws-lambda>
29+
30+
.. TODO:
31+
Connection Troubleshooting </connect/connection-troubleshooting>
3032

3133
Overview
3234
--------
File renamed without changes.

source/connect/connection-options.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ Specify Connection Options
1717
.. meta::
1818
:keywords: connection string, URI, server, Atlas, settings, configure
1919

20+
.. toctree::
21+
:titlesonly:
22+
:maxdepth: 1
23+
24+
Stable API </connect/connection-options/stable-api>
25+
26+
.. TODO:
27+
Compress Network Traffic </connect/connection-options/network-compression>
28+
Connection Pools </connect/connection-options/connection-pools>
29+
2030
Overview
2131
--------
2232

source/crud.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
.. _php-crud-operations:
2+
3+
===============
4+
CRUD Operations
5+
===============
6+
7+
.. contents:: On this page
8+
:local:
9+
:backlinks: none
10+
:depth: 2
11+
:class: singlecol
12+
13+
.. facet::
14+
:name: genre
15+
:values: reference
16+
17+
.. meta::
18+
:description: Learn how to use the {+library-short+} to read and write MongoDB data.
19+
:keywords: usage examples, query, find, code example, save, create
20+
21+
.. toctree::
22+
:titlesonly:
23+
:maxdepth: 1
24+
25+
Insert Documents </crud/insert>
26+
Query Documents </crud/query>
27+
Update Documents </crud/update>
28+
Delete Documents </crud/delete>
29+
Bulk Write Operations </crud/bulk-write>
30+
Transactions </crud/transaction>
31+
Configure CRUD Operations </crud/read-write-pref>
32+
Store Large Files </crud/gridfs>
33+
34+
CRUD (Create, Read, Update, Delete) operations enable you to work with
35+
data stored in MongoDB.
36+
37+
- :ref:`php-insert`
38+
- :ref:`php-query`
39+
- :ref:`php-update`
40+
- :ref:`php-delete`
41+
- :ref:`php-bulk-write`
42+
- :ref:`php-transactions`
43+
- :ref:`php-read-write-pref`
44+
- :ref:`php-gridfs`
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

source/crud/query.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
.. _php-query:
2+
3+
================
4+
Query Operations
5+
================
6+
7+
.. meta::
8+
:description: Learn how to use the {+library-short+} to read data from MongoDB.
9+
:keywords: usage examples, query, find, code example
10+
11+
.. facet::
12+
:name: genre
13+
:values: reference
14+
15+
.. meta::
16+
:keywords: code example, node.js, sample dataset
17+
18+
.. toctree::
19+
:maxdepth: 1
20+
21+
Find Documents </crud/query/retrieve>
22+
Specify Documents to Return </crud/query/specify-documents-to-return>
23+
Specify Fields to Return </crud/query/project>
24+
Specify a Query </crud/query/specify-a-query>
25+
Count Documents </crud/query/count>
26+
Distinct Field Values </crud/query/distinct>
27+
Access Data from a Cursor </crud/query/cursor>
28+
29+
- :ref:`php-retrieve`
30+
- :ref:`php-specify-documents-to-return`
31+
- :ref:`php-project`
32+
- :ref:`php-count`
33+
- :ref:`php-distinct`
34+
- :ref:`php-cursors`
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

source/index.txt

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,14 @@ MongoDB PHP Library
1616
Get Started </get-started>
1717
Connect to MongoDB </connect>
1818
Databases & Collections </databases-collections>
19-
Read Data </read>
20-
Write Data </write>
19+
CRUD Operations </crud>
2120
Operations with Builders </builders>
22-
CRUD Operations & Replica Sets </read-write-pref>
2321
Run a Database Command </run-command>
2422
Data Aggregation </aggregation>
2523
Indexes </indexes>
26-
Monitor Your Application </monitoring>
24+
Monitoring and Logging </monitoring-logging>
2725
Security </security>
2826
Specialized Data Formats </data-formats>
29-
Deploy to AWS Lambda </aws-lambda>
3027
Compatibility </compatibility>
3128
What's New </whats-new>
3229
Upgrade </upgrade>
@@ -65,28 +62,17 @@ Databases and Collections
6562
Learn how to use the {+library-short+} to work with MongoDB databases and collections
6663
in the :ref:`php-databases-collections` section.
6764

68-
Read Data
69-
---------
65+
Read and Write Data
66+
-------------------
7067

71-
Learn how you can retrieve data from MongoDB in the :ref:`php-read` section.
72-
73-
Write Data to MongoDB
74-
---------------------
75-
76-
Learn how you can write data to MongoDB in the :ref:`php-write` section.
68+
Learn how to find, update, and delete data in the :ref:`<php-crud-operations>` section.
7769

7870
Operations with Builders
7971
------------------------
8072

8173
Learn how to use builder classes and factory methods to create queries
8274
in the :ref:`php-builders` section.
8375

84-
Specify How CRUD Operations Run on Replica Sets
85-
-----------------------------------------------
86-
87-
Learn how to configure settings for read and write operations on replica
88-
sets in the :ref:`php-read-write-pref` section.
89-
9076
Run a Database Command
9177
----------------------
9278

@@ -104,11 +90,11 @@ Optimize Queries with Indexes
10490
Learn how to work with common types of indexes in the :ref:`php-indexes`
10591
section.
10692

107-
Monitoring
108-
----------
93+
Monitoring and Logging
94+
----------------------
10995

110-
Learn how to monitor change events in the :ref:`php-monitoring`
111-
section.
96+
Learn how to monitor changes to your application and write them to logs in the
97+
:ref:`<php-monitoring-logging>` section.
11298

11399
Secure Your Data
114100
----------------
@@ -122,12 +108,6 @@ Specialized Data Formats
122108
Learn how to work with specialized data formats and custom types in the
123109
:ref:`php-data-formats` section.
124110

125-
Deploy to AWS Lambda
126-
--------------------
127-
128-
Learn how to deploy a PHP application on AWS Lambda by using Bref in the
129-
:ref:`php-aws-lambda` section.
130-
131111
Compatibility
132112
-------------
133113

@@ -140,7 +120,6 @@ What's New
140120
Learn about new features and changes in each version in the :ref:`<php-lib-whats-new>`
141121
section.
142122

143-
144123
Upgrade Library Versions
145124
------------------------
146125

source/monitoring-logging.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.. _php-monitoring:
2+
.. _php-monitoring-logging:
3+
4+
======================
5+
Monitoring and Logging
6+
======================
7+
8+
.. toctree::
9+
:caption: Monitoring categories
10+
11+
Cluster Monitoring </monitoring-logging/cluster-monitoring>
12+
Change Streams </monitoring-logging/change-streams>
13+
14+
.. /monitoring/command-monitoring
15+
.. /monitoring/connection-monitoring
16+
17+
- :ref:`Cluster Monitoring <php-cluster-monitoring>`: Monitor changes
18+
in your cluster configuration

source/monitoring.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)