Type Definition mongodb::db::Database [] [src]

type Database = Arc<DatabaseInner>;

Trait Implementations

impl ThreadedDatabase for Database
[src]

Creates a database representation with optional read and write controls.

Logs in a user using the SCRAM-SHA-1 mechanism.

Creates a collection representation with inherited read and write controls.

Creates a collection representation with custom read and write controls.

Return a unique operational request id.

Generates a cursor for a relevant operational command.

Sends an administrative command over find_one.

Returns a list of collections within the database.

Returns a list of collections within the database with a custom batch size.

Returns a list of collection names within the database.

Creates a new collection. Read more

Creates a new user.

Permanently deletes all users from the database.

Permanently deletes the collection from the database.

Permanently deletes the database from the server.

Permanently deletes the user from the database.

Retrieves information about all users in the database.

Retrieves information about a given user from the database.

Retrieves information about a given set of users from the database.