Del copies the key bytes into the segment as a "deletion" mutation. The key must be unique (not repeated) within the segment.
(key []byte)
| 173 | // Del copies the key bytes into the segment as a "deletion" mutation. |
| 174 | // The key must be unique (not repeated) within the segment. |
| 175 | func (a *segment) Del(key []byte) error { |
| 176 | return a.mutate(OperationDel, key, nil) |
| 177 | } |
| 178 | |
| 179 | // Merge creates or updates a key-val entry in the Collection via the |
| 180 | // MergeOperator defined in the CollectionOptions. The key must be |