db.getMongo()
Returns:The current database connection.
db.getMongo()
runs when the shell initiates. Use thiscommand to test that the mongo
shell has a connection tothe proper database instance.
Returns:The current database connection.
db.getMongo()
runs when the shell initiates. Use thiscommand to test that the mongo
shell has a connection tothe proper database instance.
本文档使用 BookStack 构建