Skip to content

Commit fbf6eb2

Browse files
committed
Add references to Client and Database watch() methods
1 parent 13a2f7f commit fbf6eb2

10 files changed

+20
-0
lines changed

docs/reference/method/MongoDBChangeStream-current.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ script was iterating the change stream, the output would then resemble:
9696
See Also
9797
--------
9898

99+
- :phpmethod:`MongoDB\\Client::watch()`
99100
- :phpmethod:`MongoDB\\Collection::watch()`
101+
- :phpmethod:`MongoDB\\Database::watch()`
100102
- :php:`Iterator::current() <iterator.current>`
101103
- :ref:`Tailable Cursor Iteration <php-tailable-cursor>`
102104
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual

docs/reference/method/MongoDBChangeStream-getCursorId.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ The output would then resemble::
5353
See Also
5454
--------
5555

56+
- :phpmethod:`MongoDB\\Client::watch()`
5657
- :phpmethod:`MongoDB\\Collection::watch()`
58+
- :phpmethod:`MongoDB\\Database::watch()`
5759
- :php:`MongoDB\\Driver\\CursorId <class.mongodb-driver-cursorid>`
5860
- :php:`MongoDB\\Driver\\Cursor::getId() <manual/en/mongodb-driver-cursor.getid.php>`

docs/reference/method/MongoDBChangeStream-key.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ script was iterating the change stream, the output would then resemble:
6868
See Also
6969
--------
7070

71+
- :phpmethod:`MongoDB\\Client::watch()`
7172
- :phpmethod:`MongoDB\\Collection::watch()`
73+
- :phpmethod:`MongoDB\\Database::watch()`
7274
- :php:`Iterator::key() <iterator.key>`
7375
- :ref:`Tailable Cursor Iteration <php-tailable-cursor>`
7476
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual

docs/reference/method/MongoDBChangeStream-next.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ Errors/Exceptions
3636
See Also
3737
--------
3838

39+
- :phpmethod:`MongoDB\\Client::watch()`
3940
- :phpmethod:`MongoDB\\Collection::watch()`
41+
- :phpmethod:`MongoDB\\Database::watch()`
4042
- :php:`Iterator::next() <iterator.next>`
4143
- :ref:`Tailable Cursor Iteration <php-tailable-cursor>`
4244
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual

docs/reference/method/MongoDBChangeStream-rewind.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ advanced).
4646
See Also
4747
--------
4848

49+
- :phpmethod:`MongoDB\\Client::watch()`
4950
- :phpmethod:`MongoDB\\Collection::watch()`
51+
- :phpmethod:`MongoDB\\Database::watch()`
5052
- :php:`Iterator::rewind() <iterator.rewind>`
5153
- :ref:`Tailable Cursor Iteration <php-tailable-cursor>`
5254
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual

docs/reference/method/MongoDBChangeStream-valid.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ A boolean indicating whether there is a current event in the change stream.
3434
See Also
3535
--------
3636

37+
- :phpmethod:`MongoDB\\Client::watch()`
3738
- :phpmethod:`MongoDB\\Collection::watch()`
39+
- :phpmethod:`MongoDB\\Database::watch()`
3840
- :php:`Iterator::valid() <iterator.valid>`
3941
- :ref:`Tailable Cursor Iteration <php-tailable-cursor>`
4042
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual

docs/reference/method/MongoDBClient-watch.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ script was iterating the change stream, the output would then resemble:
114114
See Also
115115
--------
116116

117+
- :phpmethod:`MongoDB\\Collection::watch()`
118+
- :phpmethod:`MongoDB\\Database::watch()`
117119
- :manual:`Aggregation Pipeline </core/aggregation-pipeline>` documentation in
118120
the MongoDB Manual
119121
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual

docs/reference/method/MongoDBCollection-watch.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ script was iterating the change stream, the output would then resemble:
114114
See Also
115115
--------
116116

117+
- :phpmethod:`MongoDB\\Client::watch()`
118+
- :phpmethod:`MongoDB\\Database::watch()`
117119
- :manual:`Aggregation Pipeline </core/aggregation-pipeline>` documentation in
118120
the MongoDB Manual
119121
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual

docs/reference/method/MongoDBDatabase-watch.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ script was iterating the change stream, the output would then resemble:
113113
See Also
114114
--------
115115

116+
- :phpmethod:`MongoDB\\Collection::watch()`
117+
- :phpmethod:`MongoDB\\Client::watch()`
116118
- :manual:`Aggregation Pipeline </core/aggregation-pipeline>` documentation in
117119
the MongoDB Manual
118120
- :manual:`Change Streams </changeStreams>` documentation in the MongoDB manual

docs/reference/result-classes.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Definition
2222

2323
This class extends PHP's :php:`Iterator <manual/en/class.iterator.php>`
2424
interface. An instance of this class is returned by
25+
:phpmethod:`MongoDB\\Client::watch()`,
26+
:phpmethod:`MongoDB\\Database::watch()`, and
2527
:phpmethod:`MongoDB\\Collection::watch()`.
2628

2729
This class allows for iteration of events in a change stream. It also allows

0 commit comments

Comments
 (0)