MCPcopy Create free account
hub / github.com/couchbase/moss / Del

Method Del

segment.go:175–177  ·  view source on GitHub ↗

Del copies the key bytes into the segment as a "deletion" mutation. The key must be unique (not repeated) within the segment.

(key []byte)

Source from the content-addressed store, hash-verified

173// Del copies the key bytes into the segment as a "deletion" mutation.
174// The key must be unique (not repeated) within the segment.
175func (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

Callers

nothing calls this directly

Calls 1

mutateMethod · 0.95

Tested by

no test coverage detected