MCPcopy Create free account
hub / github.com/Fullstop000/wickdb / put

Method put

src/batch.rs:75–82  ·  view source on GitHub ↗

Stores the mapping "key -> value" in the database

(&mut self, key: &[u8], value: &[u8])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

test_multiple_recordsFunction · 0.45
test_corrupted_batchFunction · 0.45
test_append_batchFunction · 0.45
test_approximate_sizeFunction · 0.45
mainFunction · 0.45

Calls 3

set_countMethod · 0.80
get_countMethod · 0.80
lenMethod · 0.45

Tested by 4

test_multiple_recordsFunction · 0.36
test_corrupted_batchFunction · 0.36
test_append_batchFunction · 0.36
test_approximate_sizeFunction · 0.36