Skip to content

Commit b44b8f5

Browse files
author
your proper name
committed
(DOCSP-42962) Unnested 1 example and 3 tips.
1 parent a423771 commit b44b8f5

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

source/source-connector/configuration-properties/change-stream.txt

+13-16
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ Settings
4545
You must configure this setting for the change stream
4646
event document, not the ``fullDocument`` field.
4747

48-
.. example::
48+
For example:
4949

50-
.. code-block:: none
50+
.. code-block:: none
5151

52-
[{"$match": { "$and": [{"operationType": "insert"}, {"fullDocument.eventId": 1404 }] } }]
52+
[{"$match": { "$and": [{"operationType": "insert"}, {"fullDocument.eventId": 1404 }] } }]
5353

54-
.. tip:: Additional Examples
54+
For more examples, see:
5555

56-
- :ref:`<source-usage-example-custom-pipeline>`
57-
- :ref:`<source-usage-example-multiple-sources>`
56+
- :ref:`<source-usage-example-custom-pipeline>`
57+
- :ref:`<source-usage-example-multiple-sources>`
5858

5959
| **Default**: ``"[]"``
6060
| **Accepted Values**: Valid aggregation pipeline stage
@@ -75,11 +75,10 @@ Settings
7575
| The ``required`` setting returns the updated document and
7676
raises an error if it is not available.
7777

78-
.. tip::
79-
80-
For more information on how this change stream option works, see
81-
the MongoDB server manual guide on :manual:`Lookup Full Document for
82-
Update Operations </changeStreams/#lookup-full-document-for-update-operations>`.
78+
For more information on how this change stream option works, see
79+
:manual:`Lookup Full Document for Update Operations
80+
</changeStreams/#lookup-full-document-for-update-operations>`
81+
in the MongoDB manual.
8382

8483
|
8584
| **Default**: ``""``
@@ -94,11 +93,9 @@ Settings
9493
published while copying existing data, and the pre-image configuration
9594
has no effect on copying.
9695

97-
.. tip::
98-
99-
To learn how to configure a collection to enable
100-
pre-images, see the :manual:`Server manual entry on pre- and
101-
post-images </changeStreams/#change-streams-with-document-pre--and-post-images>`.
96+
To learn how to configure a collection to enable
97+
pre-images, see the :manual:`Change Streams with Document Pre- and Post-Images
98+
</changeStreams/#change-streams-with-document-pre--and-post-images>` in the MongoDB manual.
10299

103100
| The default setting suppresses the document pre-image.
104101
| The ``whenAvailable`` setting returns the document pre-image if

0 commit comments

Comments
 (0)