Accesses a collection using an absolute path.
The full database.collection path must be specified. To access collections using a path relative to their database, use getDatabase in conjunction with MongoDatabase.opIndex.
MongoCollection for the given combined database and collection name (path)
auto col = client.getCollection("test.collection");
See Implementation
Accesses a collection using an absolute path.
The full database.collection path must be specified. To access collections using a path relative to their database, use getDatabase in conjunction with MongoDatabase.opIndex.