Skip to content

Commit 5507c9c

Browse files
authored
Revert "DOCSP-31848: document validation (#22)" (#33)
1 parent f1eafd2 commit 5507c9c

File tree

7 files changed

+12
-243
lines changed

7 files changed

+12
-243
lines changed

source/fundamentals.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ Fundamentals
99
:maxdepth: 1
1010

1111
/fundamentals/connections
12+
/fundamentals/stable-api
13+
/fundamentals/authentication
1214
/fundamentals/crud
13-
/fundamentals/schema-validation
15+
/fundamentals/database-collection
1416
/fundamentals/aggregation
17+
/fundamentals/tracing-logging
1518
/fundamentals/run-command
1619

1720
..
1821
Connect to MongoDB Atlas from AWS Lambda <https://www.mongodb.com/docs/atlas/manage-connections-aws-lambda/>
19-
/fundamentals/stable-api
2022
/fundamentals/context
21-
/fundamentals/auth
2223
/fundamentals/enterprise-auth
2324
/fundamentals/bson
2425
/fundamentals/indexes
2526
/fundamentals/transactions
26-
/fundamentals/logging
2727
/fundamentals/collations
2828
/fundamentals/monitoring
2929
/fundamentals/gridfs

source/fundamentals/authentication.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Authentication Mechanisms
66

77
.. contents:: On this page
88
:local:
9-
:backlinks: none
9+
:backlinks: nones
1010
:depth: 2
1111
:class: singlecol
1212

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ the options available in ``UpdateOptions``:
338338
* - ``bypass_document_validation``
339339
- | If ``true``, allows the driver to perform a write that violates
340340
document-level validation. To learn more about validation, see
341-
the guide on :ref:`rust-schema-validation`.
341+
:manual:`Schema Validation </core/schema-validation>` in the Server manual.
342342

343343
| Type: ``bool``
344344
| Default: ``false``

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ following table describes the options available in
104104
* - ``bypass_document_validation``
105105
- | If ``true``, allows the driver to perform a write that violates
106106
document-level validation. To learn more about validation, see
107-
the guide on :ref:`rust-schema-validation`.
107+
:manual:`Schema Validation </core/schema-validation>` in the Server manual.
108108

109109
| Type: ``bool``
110110
| Default: ``false``
@@ -124,8 +124,6 @@ following table describes the options available in
124124

125125
| Type: ``Bson``
126126

127-
.. _rust-insertone-bypass-validation-ex:
128-
129127
The following code shows how to construct an ``InsertOneOptions``
130128
instance:
131129

@@ -193,7 +191,7 @@ following table describes the options available in
193191
* - ``bypass_document_validation``
194192
- | If ``true``, allows the driver to perform a write that violates
195193
document-level validation. To learn more about validation, see
196-
the guide on :ref:`rust-schema-validation`.
194+
:manual:`Schema Validation </core/schema-validation>` in the Server manual.
197195

198196
| Type: ``bool``
199197
| Default: ``false``

source/fundamentals/schema-validation.txt

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

source/includes/fundamentals-sections.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ Learn how to perform the following tasks using the {+driver-short+} in the
22
Fundamentals section:
33

44
- :ref:`Connect to MongoDB <rust-connection>`
5+
- :ref:`Specify the {+stable-api+} Version <rust-stable-api>`
6+
- :ref:`Authenticate to MongoDB <rust-authentication>`
57
- :ref:`Read from and Write to MongoDB <rust-crud>`
6-
- :ref:`Implement Schema Validation <rust-schema-validation>`
8+
- :ref:`Manage Databases and Collections <rust-db-coll>`
79
- :ref:`Perform Aggregations <rust-aggregation>`
10+
- :ref:`Record Driver Events <rust-tracing-logging>`
811
- :ref:`Run A Database Command <rust-run-command>`
912

1013
..
@@ -15,7 +18,6 @@ Fundamentals section:
1518
- :ref:`Convert Data to and from BSON <rust-bson>`
1619
- :ref:`Construct Indexes <rust-indexes>`
1720
- :ref:`Specify Collations to Order Results <rust-collations>`
18-
- :ref:`Record Log Messages <rust-logging>`
1921
- :ref:`Monitor Driver Events <rust-monitoring>`
2022
- :ref:`Store and Retrieve Large Files by Using GridFS <rust-gridfs>`
2123
- :ref:`Use a Time Series Collection <rust-time-series>`

source/includes/fundamentals/code-snippets/schema-validation.rs

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

0 commit comments

Comments
 (0)