MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / put_cell

Function put_cell

nodedb/tests/bitemporal_array_gdpr.rs:70–84  ·  view source on GitHub ↗
(e: &mut ArrayEngine, x: i64, v: i64, sys: i64, lsn: u64)

Source from the content-addressed store, hash-verified

68}
69
70fn put_cell(e: &mut ArrayEngine, x: i64, v: i64, sys: i64, lsn: u64) {
71 e.put_cells(
72 &aid(),
73 vec![ArrayPutCell {
74 coord: vec![CoordValue::Int64(x)],
75 attrs: vec![CellValue::Int64(v)],
76 surrogate: Surrogate::ZERO,
77 system_from_ms: sys,
78 valid_from_ms: sys,
79 valid_until_ms: OPEN_UPPER,
80 }],
81 lsn,
82 )
83 .unwrap();
84}
85
86fn tombstone_cell(e: &mut ArrayEngine, x: i64, sys: i64, lsn: u64) {
87 e.delete_cells(

Calls 2

put_cellsMethod · 0.80
aidFunction · 0.70

Tested by

no test coverage detected