Function init_db_for

pub fn init_db_for<P, TS>(
    path: P,
    args: DatabaseArguments,
) -> Result<DatabaseEnv, Report>
where P: AsRef<Path>, TS: TableSet,
Available on crate features provider and mdbx only.
Expand description

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