reth_db::mdbx

Function open_db

Source
pub fn open_db(path: &Path, args: DatabaseArguments) -> Result<DatabaseEnv>
Available on crate feature mdbx only.
Expand description

Opens up an existing database. Read/Write mode with WriteMap enabled. It doesn’t create it or create tables if missing.