Documented 'delete_range_cf'

master
Valerian Saliou 6 years ago
parent ff574e5a0c
commit d55b22ce16
No known key found for this signature in database
GPG Key ID: C648A8138046772A
  1. 5
      src/db.rs

@ -1669,6 +1669,11 @@ impl WriteBatch {
} }
} }
/// Remove database entries in column family from start key to end key.
///
/// Removes the database entries in the range ["begin_key", "end_key"), i.e.,
/// including "begin_key" and excluding "end_key". It is not an error if no
/// keys exist in the range ["begin_key", "end_key").
pub fn delete_range_cf<K: AsRef<[u8]>>( pub fn delete_range_cf<K: AsRef<[u8]>>(
&mut self, &mut self,
cf: ColumnFamily, cf: ColumnFamily,

Loading…
Cancel
Save