Exemplo n.º 1
0
 def clear(self):
     ''' Clear the current write batch values written
     so far. This current write batch can still be
     used, however all operations written up to this
     point will be gone.
     '''
     LDB.leveldb_writebatch_clear(self.write_batch)
     return self