typed_store::rocks

Function open_cf_opts

Source
pub fn open_cf_opts<P: AsRef<Path>>(
    path: P,
    db_options: Option<Options>,
    metric_conf: MetricConf,
    opt_cfs: &[(&str, Options)],
) -> Result<Arc<Database>, TypedStoreError>
Expand description

Opens a database with options, and a number of column families with individual options that are created if they do not exist.