diff options
author | Davis Haupt <davis.haupt@mongodb.com> | 2019-05-29 16:58:45 -0400 |
---|---|---|
committer | Davis Haupt <davis.haupt@mongodb.com> | 2019-05-30 17:37:25 -0400 |
commit | b85b159f44e155ea05b456552a1cd5782a7d7850 (patch) | |
tree | dfa72efc1923bb91713c0fa90fe363bd557590f1 /src/mongo/shell/db.js | |
parent | 3621edd15fc065207548e8c8654d3f9377dc694a (diff) | |
download | mongo-b85b159f44e155ea05b456552a1cd5782a7d7850.tar.gz |
SERVER-37062 db.watch does not show up in autocomplete or help
Diffstat (limited to 'src/mongo/shell/db.js')
-rw-r--r-- | src/mongo/shell/db.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/shell/db.js b/src/mongo/shell/db.js index 87559699b7d..234f905a9db 100644 --- a/src/mongo/shell/db.js +++ b/src/mongo/shell/db.js @@ -620,6 +620,8 @@ var DB; print( "\tdb.unsetWriteConcern(<write concern doc>) - unsets the write concern for writes to the db"); print("\tdb.version() current version of the server"); + print("\tdb.watch() - opens a change stream cursor for a database to report on all " + + " changes to its non-system collections."); return __magicNoPrint; }; |