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

type Database = Arc<DatabaseInner>;

Trait Implementations

impl ThreadedDatabase for Database
[src]

[src]

Creates a database representation with optional read and write controls.

[src]

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

[src]

Creates a collection representation with inherited read and write controls.

[src]

Creates a collection representation with custom read and write controls.

[src]

Return a unique operational request id.

[src]

Generates a cursor for a relevant operational command.

[src]

Sends an administrative command over find_one.

[src]

Returns a list of collections within the database.

[src]

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

[src]

Returns a list of collection names within the database.

[src]

[src]

Creates a new collection. Read more

[src]

Creates a new user.

[src]

Permanently deletes all users from the database.

[src]

Permanently deletes the collection from the database.

[src]

Permanently deletes the database from the server.

[src]

Permanently deletes the user from the database.

[src]

Retrieves information about all users in the database.

[src]

Retrieves information about a given user from the database.

[src]

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