File tree Expand file tree Collapse file tree 6 files changed +24
-20
lines changed Expand file tree Collapse file tree 6 files changed +24
-20
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,6 @@ define: versions 1.7 1.8 1.9 1.10 1.11 master
44
55raw: ${prefix}/ -> ${base}/current/
66raw: ${prefix}/stable -> ${base}/current/
7+
8+ [*-master]: ${prefix}/${version}/fundamentals/crud/read-operations/watch/ -> ${base}/${version}/fundamentals/crud/read-operations/changestream/
9+ [*-master]: ${prefix}/${version}/usage-examples/watch/ -> ${base}/${version}/usage-examples/changestream/
Original file line number Diff line number Diff line change @@ -16,10 +16,7 @@ Read Operations
1616- :ref:`golang-limit`
1717- :ref:`golang-project`
1818- :ref:`golang-search-text`
19- - :ref:`golang-watch-changes`
20-
21- ..
22- - :doc:`/fundamentals/crud/read-operations/geo`
19+ - :ref:`golang-monitor-changes`
2320
2421.. toctree::
2522 :caption: Read Operations
@@ -34,6 +31,4 @@ Read Operations
3431 /fundamentals/crud/read-operations/limit
3532 /fundamentals/crud/read-operations/project
3633 /fundamentals/crud/read-operations/text
37- /fundamentals/crud/read-operations/watch
38- ..
39- /fundamentals/crud/read-operations/geo
34+ /fundamentals/crud/read-operations/changestream
Original file line number Diff line number Diff line change 11.. _golang-watch-changes:
2+ .. _golang-monitor-changes:
23
3- =================
4- Watch for Changes
5- =================
4+ ====================
5+ Monitor Data Changes
6+ ====================
7+
8+ .. meta::
9+ :description: Learn about opening change streams and monitoring data changes in MongoDB by using the {+driver-long+}.
610
711.. contents:: On this page
812 :local:
@@ -229,7 +233,7 @@ outputs the ``"fullDocument"`` value in the change event document.
229233Additional Information
230234----------------------
231235
232- For a runnable example of a change stream, see :ref:`golang-watch `.
236+ For a runnable example of a change stream, see :ref:`golang-usageex-monitor-changes `.
233237
234238For more information on change streams, see :manual:`Change Streams </changeStreams/>`.
235239
Original file line number Diff line number Diff line change @@ -243,15 +243,15 @@ their related reference and API documentation.
243243
244244 .. output::
245245 :language: go
246- :visible: false
246+ :visible: false
247247
248248 [{type Chrysanthemum}, {rating 5} ... ]
249249 [{type Oolong}, ... ]
250250
251- * - | **Watch for Changes**
251+ * - | **Monitor Data Changes**
252252 |
253253 | `API Documentation <{+api+}/mongo#Collection.Watch>`__
254- | :ref:`Usage Example <golang-watch >`
254+ | :ref:`Usage Example <golang-usageex-monitor-changes >`
255255
256256 - .. code-block:: go
257257 :copyable: true
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Usage Examples
1717 /usage-examples/find-operations
1818 /usage-examples/write-operations
1919 /usage-examples/bulkWrite
20- /usage-examples/watch
20+ /usage-examples/changestream
2121 /usage-examples/count
2222 /usage-examples/distinct
2323 /usage-examples/command
Original file line number Diff line number Diff line change 11.. _golang-watch:
2+ .. _golang-usageex-monitor-changes:
23
3- =================
4- Watch for Changes
5- =================
4+ ====================
5+ Monitor Data Changes
6+ ====================
67
7- .. default-domain:: mongodb
8+ .. meta::
9+ :description: Learn by example: how to monitor data changes in MongoDB by using the {+driver-long+}.
810
911You can open a change stream on a ``MongoCollection``,
1012``MongoDatabase``, or ``MongoClient`` by using the ``Watch()`` method.
@@ -55,7 +57,7 @@ Additional Information
5557To learn more about opening a change stream and handling
5658potential errors, see:
5759
58- - Fundamentals page on :ref:`change streams <golang-watch -changes>`
60+ - Fundamentals page on :ref:`change streams <golang-monitor -changes>`
5961- MongoDB Server Manual :manual:`Change Streams Documentation </changeStreams>`
6062
6163API Documentation
You can’t perform that action at this time.
0 commit comments