示例#1
0
 /// <summary>
 /// If the database contains a mapping for "key", erase it.
 /// Else do nothing.
 /// </summary>
 public WriteBatch Delete(Byte[] key)
 {
     LevelDBInterop.leveldb_writebatch_delete(this.Handle, key, (IntPtr)key.Length);
     return(this);
 }
示例#2
0
 public void Delete(Slice key)
 {
     LevelDBInterop.leveldb_writebatch_delete(Handle, key.buffer, (IntPtr)key.buffer.Length);
 }