Skip to content

Commit 25a15e1

Browse files
committed
trivial: lower subheading level
1 parent 5f91972 commit 25a15e1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/core/schema-validation.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ query expression:
122122
.. seealso:: :ref:`query operators <query-selectors>`
123123

124124
Behavior
125-
--------
125+
~~~~~~~~
126126

127127
Validation occurs during updates and inserts. When you add validation to
128128
a collection, existing documents do not undergo validation checks until
129129
modification.
130130

131-
Existing Documents
132-
~~~~~~~~~~~~~~~~~~
131+
Validation Level
132+
````````````````
133133

134134
The ``validationLevel`` option determines which operations MongoDB
135135
applies the validation rules:
@@ -196,7 +196,7 @@ To disable validation entirely, you can set ``validationLevel`` to
196196
``off``.
197197

198198
Accept or Reject Invalid Documents
199-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199+
``````````````````````````````````
200200

201201
The ``validationAction`` option determines how MongoDB handles
202202
documents that violate the validation rules:
@@ -255,15 +255,15 @@ proceed:
255255
2017-12-01T12:31:23.738-0500 W STORAGE [conn1] Document would fail validation collection: example.contacts2 doc: { _id: ObjectId('5a2191ebacbbfc2bdc4dcffc'), name: "Amanda", status: "Updated" }
256256

257257
Restrictions
258-
------------
258+
~~~~~~~~~~~~
259259

260260
You cannot specify a validator for collections in the ``admin``,
261261
``local``, and ``config`` databases.
262262

263263
You cannot specify a validator for ``system.*`` collections.
264264

265265
Bypass Document Validation
266-
--------------------------
266+
~~~~~~~~~~~~~~~~~~~~~~~~~~
267267

268268
Users can bypass document validation using the
269269
``bypassDocumentValidation`` option. For a list of commands that

0 commit comments

Comments
 (0)