// Delete removes the key from the key-value store.
194657
func (db *Database) Delete(key []byte) error {
	db.lock.Lock()
	defer db.lock.Unlock()

	if db.db == nil {
		return errMemorydbClosed
	}
	delete(db.db, string(key))
	return nil
}
1015573
func (f *FileStore) Delete(keys [][]byte) error {
	return f.DeleteRange(keys, math.MinInt64, math.MaxInt64)
}
581982
func (r *Redis) Delete(key string) error {
	return r.Client.Del(key).Err()
}
287194
func (c *Cache) Delete(key string) {
	c.Client.Delete(cacheKey(key))
}
819445
func (c *Cache) Delete(key string) {
	c.db.Delete([]byte(key), nil)
}
287315
func (mk *MemKeystore) Delete(name string) error {
	if err := validateName(name); err != nil {
		return err
	}

	delete(mk.keys, name)
	return nil
}
899324
func (n NamespacedKV) Delete(key string) {
	n.db.Delete(n.prefixedKey(key), nil)
}
1351325
func (r *RequestContext) Delete(key string) {
	r.mutex.Lock()
	delete(r.store, key)
	r.mutex.Unlock()
}
28468
func (tx *protoTxn) Delete(key string) keyval.ProtoTxn {
	if tx.err != nil {
		return tx
	}

	tx.txn = tx.txn.Delete(key)
	return tx
}
473430
func (smap *syncedMap) Delete(key interface{}) {
	smap.Lock()
	defer smap.Unlock()

	delete(smap.data, key)
}
1320541
func (c *Cache) Delete(key string) (err error) {
	return c.caches(c.Name, "items", key).Req("DELETE", nil, nil)
}
539186
func (c *Scratch) Delete(key string) string {
	c.mu.Lock()
	delete(c.values, key)
	c.mu.Unlock()
	return ""
}
890139
func (s *MockStore) Delete(key string) error {
	delete(s.db, key)
	return nil
}
556033
func (c *Cacher) Delete(ctx context.Context, key string, out runtime.Object, preconditions *storage.Preconditions) error {
	return c.storage.Delete(ctx, key, out, preconditions)
}
21837
func (tx *Tx) Delete(key []byte) error {
	if tx.cellar == nil {
		return ErrTxClosed
	} else if !tx.writable {
		return ErrTxNotWritable
	}
	return tx.segmentBuilder.Delete(key)
}
1055372
func (r *MemoryNoTS) Delete(key string) error {
	delete(r.items, key)
	return nil
}
889253
func (t *txn) Delete(key string) keyval.BytesTxn {
	t.updates = append(t.updates, &update{
		key:   []byte(key),
		value: nil,
	})
	return t
}