- fsync
Bson fsync(bool async)
Performs a filesystem/disk sync of the database on the server.
- getLastError
MongoErrorDescription getLastError()
Retrieves the last error code (if any) from the database server.
- getLog
Bson getLog(string mask)
Returns recent log messages for this database from the database server.
- opIndex
MongoCollection opIndex(string name)
Accesses the collections of this database.
- runCommand
deprecated Bson runCommand(T command_and_options, string errorInfo, string errorFile, size_t errorLine)
Undocumented in source. Be warned that the author may not have intended to support it.
- runCommandChecked
Bson runCommandChecked(T command_and_options, string errorInfo, string errorFile, size_t errorLine)
- runCommandUnchecked
Bson runCommandUnchecked(T command_and_options, string errorInfo, string errorFile, size_t errorLine)
- runListCommand
MongoCursor!R runListCommand(T command_and_options, int batchSize, Duration getMoreMaxTime)
Generic means to run commands on the database.
Represents a single database accessible through a given MongoClient.