Example #1
0
// Count returns the number of updates in the batch.
func (w *WriteBatch) Count() int {
	return int(C.rocksdb_writebatch_count(w.c))
}
Example #2
0
// Count returns the number of updates in the batch.
func (self *WriteBatch) Count() int {
	return int(C.rocksdb_writebatch_count(self.c))
}