@@ -357,6 +357,11 @@ Collection Methods
357
357
358
358
- Validates a collection.
359
359
360
+ * - :method:`db.collection.watch()`
361
+
362
+ - Opens a :manual:`change stream cursor </change-streams>` on the
363
+ collection.
364
+
360
365
Connection Methods
361
366
------------------
362
367
@@ -376,6 +381,13 @@ Connection Methods
376
381
377
382
- Sets the :term:`read preference` for the MongoDB connection.
378
383
384
+ * - :method:`Mongo.watch()`
385
+
386
+ - Opens a :manual:`change stream cursor </change-streams>` for a replica
387
+ set or a sharded cluster to report on all its non-system collections
388
+ across its databases, with the exception of the ``admin``, ``local``,
389
+ and ``config`` databases.
390
+
379
391
Cursor Methods
380
392
--------------
381
393
@@ -649,6 +661,11 @@ Database Methods
649
661
and :manual:`sampleRate
650
662
</reference/method/db.setProfilingLevel/#set-profiling-level-options-samplerate>`.
651
663
664
+ * - :method:`db.watch()`
665
+
666
+ - Opens a :manual:`change stream cursor </change-streams>` for a
667
+ database to report on all its non-system collections.
668
+
652
669
Free Monitoring Methods
653
670
-----------------------
654
671
@@ -930,6 +947,10 @@ Session Object Methods
930
947
931
948
- Description
932
949
950
+ * - :method:`Mongo.startSession()`
951
+
952
+ - Starts a session for the connection.
953
+
933
954
* - :manual:`Session.advanceOperationTime() </reference/method/Session>`
934
955
935
956
- Updates the operation time.
@@ -942,6 +963,10 @@ Session Object Methods
942
963
943
964
- Returns the most recent cluster time as seen by the session.
944
965
966
+ * - :manual:`Session.getDatabase() </reference/method/Session>`
967
+
968
+ - Access the specified database from the session in the shell.
969
+
945
970
* - :manual:`Session.getOperationTime() </reference/method/Session>`
946
971
947
972
- Returns the timestamp of the last acknowledged operation for the
@@ -955,6 +980,11 @@ Session Object Methods
955
980
956
981
- Returns a boolean that specifies whether the session has ended.
957
982
983
+ * - :method:`SessionOptions()`
984
+
985
+ - The options for a session in the shell. To access the
986
+ :method:`SessionOptions()` object, use :method:`Session.getOptions()`.
987
+
958
988
Server Status Methods
959
989
---------------------
960
990
0 commit comments