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

Method Del

api.go:334–334  ·  view source on GitHub ↗

Del deletes a key-val entry from the Collection. The key must be unique (not repeated) within the Batch. Del copies the key bytes into the Batch, so the memory bytes of the key may be reused by the caller. Del() on a non-existent key results in a nil error.

(key []byte)

Source from the content-addressed store, hash-verified

332 // reused by the caller. Del() on a non-existent key results in a
333 // nil error.
334 Del(key []byte) error
335
336 // Merge creates or updates a key-val entry in the Collection via
337 // the MergeOperator defined in the CollectionOptions. The key

Callers 10

testStoreCompactionFunction · 0.95
TestOpenStoreCollectionFunction · 0.95
TestStoreNilValueFunction · 0.95
TestStoreLargeDeletionsFunction · 0.95
testOpsBatchSize1Function · 0.95
runOpTestsFunction · 0.95
runTestPersisterFunction · 0.95
Test_LevelCompactDeletesFunction · 0.95
opDelFuncFunction · 0.65

Calls

no outgoing calls

Tested by 9

testStoreCompactionFunction · 0.76
TestOpenStoreCollectionFunction · 0.76
TestStoreNilValueFunction · 0.76
TestStoreLargeDeletionsFunction · 0.76
testOpsBatchSize1Function · 0.76
runOpTestsFunction · 0.76
runTestPersisterFunction · 0.76
Test_LevelCompactDeletesFunction · 0.76