Function create_db

pub fn create_db<P>(
    path: P,
    args: DatabaseArguments,
) -> Result<DatabaseEnv, Report>
where P: AsRef<Path>,
Available on crate feature provider only.
Expand description

Creates a new database at the specified path if it doesn’t exist. Does NOT create tables. Check init_db.