// Delete deletes the key and value specified by key. func (r *Range) Delete(args *proto.DeleteRequest, reply *proto.DeleteResponse) { if err := r.engine.Clear(args.Key); err != nil { reply.SetGoError(err) } }
// Delete deletes the key and value specified by key. func (r *Range) Delete(batch engine.Engine, ms *engine.MVCCStats, args *proto.DeleteRequest, reply *proto.DeleteResponse) { reply.SetGoError(engine.MVCCDelete(batch, ms, args.Key, args.Timestamp, args.Txn)) }
// Delete deletes the key and value specified by key. func (r *Range) Delete(args *proto.DeleteRequest, reply *proto.DeleteResponse) { reply.SetGoError(r.mvcc.Delete(args.Key, args.Timestamp, args.Txn)) }