mdb_del() private method

private mdb_del ( IntPtr txn, uint dbi, LightningDB.Native.ValueStructure &key, LightningDB.Native.ValueStructure &data ) : int
txn System.IntPtr
dbi uint
key LightningDB.Native.ValueStructure
data LightningDB.Native.ValueStructure
return int
示例#1
0
        public static int mdb_del(IntPtr txn, uint dbi, byte[] key)
        {
            ValueStructure val = default(ValueStructure);

            using (var marshal = new MarshalValueStructure(key))
                return(check(LmdbMethods.mdb_del(txn, dbi, ref marshal.Key, ref val)));
        }
示例#2
0
 public static int mdb_del(IntPtr txn, uint dbi, byte[] key, byte[] value)
 {
     using (var marshal = new MarshalValueStructure(key, value))
         return(check(LmdbMethods.mdb_del(txn, dbi, ref marshal.Key, ref marshal.Value)));
 }
示例#3
0
 public static MDBResultCode mdb_del(IntPtr txn, uint dbi, MDBValue key)
 {
     return(LmdbMethods.mdb_del(txn, dbi, ref key, IntPtr.Zero));
 }