Function init_db

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

Opens up an existing database or creates a new one at the specified path. Creates tables defined in Tables if necessary. Read/Write mode.