// DropColumnFamily drops a column family. func (db *DB) DropColumnFamily(c *ColumnFamilyHandle) error { var cErr *C.char C.rocksdb_drop_column_family(db.c, c.c, &cErr) if cErr != nil { defer C.free(unsafe.Pointer(cErr)) return errors.New(C.GoString(cErr)) } return nil }
// DropCF drops a column family. func (db *DB) DropCF(c *CF) error { var cErr *C.char C.rocksdb_drop_column_family(db.c, c.c, &cErr) return convertErr(cErr) }