[][src]Function rocks::db::repair_db_with_cf

pub fn repair_db_with_cf<P: AsRef<Path>>(
    db_options: &DBOptions,
    dbname: P,
    column_families: &[&ColumnFamilyDescriptor]
) -> Result<()>

If a DB cannot be opened, you may attempt to call this method to resurrect as much of the contents of the database as possible. Some data may be lost, so be careful when calling this function on a database that contains important information.

With this API, we will warn and skip data associated with column families not specified in column_families.

column_families Descriptors for known column families