Connection Methods连接方法
Note
For details on a specific method, including syntax and examples, click on the link to the method's reference page.有关特定方法的详细信息,包括语法和示例,请单击该方法参考页的链接。
connect() | |
Mongo() | |
Mongo.getDB() | |
Mongo.getDBNames() | |
Mongo.getDBs() | |
Mongo.getReadPrefMode() | |
Mongo.getReadPrefTagSet() | |
Mongo.getWriteConcern() | |
Mongo.setCausalConsistency() | |
Mongo.setReadPref() | |
Mongo.setWriteConcern() | |
Mongo.startSession() | |
Mongo.watch() | system collections across all its databases, excluding the internal admin , local , and config databases.system 集合,不包括内部admin 数据库、local 数据库和local 数据库。 |
Session() | |
SessionOptions() |