pub fn create_or_open_db(
path: impl AsRef<Path>,
cf_configs: &BTreeMap<&'static str, Options>,
) -> Result<(Arc<DB>, Options)>
Expand description
Open (or create) the Database with the configs applied to all column families.
This function creates all the CFs in the database.
The returned Options
need to be stored to refer to the DB metrics!