MCPcopy Create free account
hub / github.com/adambcomer/database-engine / set

Method set

src/wal.rs:83–92  ·  view source on GitHub ↗

Sets a Key-Value pair and the operation is appended to the WAL.

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

test_new_sstableFunction · 0.45
test_load_sstableFunction · 0.45
test_key_in_rangeFunction · 0.45
test_getFunction · 0.45
test_get_deleted_entryFunction · 0.45
test_get_not_foundFunction · 0.45
load_from_dirMethod · 0.45
test_write_oneFunction · 0.45
test_write_manyFunction · 0.45
test_write_deleteFunction · 0.45

Calls 1

lenMethod · 0.80

Tested by 13

test_new_sstableFunction · 0.36
test_load_sstableFunction · 0.36
test_key_in_rangeFunction · 0.36
test_getFunction · 0.36
test_get_deleted_entryFunction · 0.36
test_get_not_foundFunction · 0.36
test_write_oneFunction · 0.36
test_write_manyFunction · 0.36
test_write_deleteFunction · 0.36
test_read_wal_oneFunction · 0.36