Delete removes a key-value pair from the database
(key []byte)
| 156 | |
| 157 | // Delete removes a key-value pair from the database |
| 158 | func (db *DB) Delete(key []byte) error { |
| 159 | return db.db.Delete(db.ctx, key) |
| 160 | } |
| 161 | |
| 162 | // SyncPut is a synchronous version of Put |
| 163 | func (db *DB) SyncPut(key []byte, value []byte) error { |