Function mongoloid::create_database
[−]
[src]
pub fn create_database(db_name: Option<&str>) -> Result<(), String>
Create a new database in MongoDB. If db_name
contains a value, it will be
be used to name the database, otherwise an unique name will be automatically
generated.
Note: the current directory name must be that of a supported election.