Exemplo n.º 1
0
// DeleteCF queues a deletion of the data at key in a column family.
func (w *WriteBatch) DeleteCF(cf *CF, key []byte) {
	cKey := byteToChar(key)
	C.rocksdb_writebatch_delete_cf(w.c, cf.c, cKey, C.size_t(len(key)))
}
Exemplo n.º 2
0
// DeleteCF queues a deletion of the data at key in a column family.
func (self *WriteBatch) DeleteCF(cf *ColumnFamilyHandle, key []byte) {
	cKey := byteToChar(key)
	C.rocksdb_writebatch_delete_cf(self.c, cf.c, cKey, C.size_t(len(key)))
}