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

Function put_cell

nodedb/tests/bitemporal_array_basic.rs:59–73  ·  view source on GitHub ↗
(e: &mut ArrayEngine, x: i64, v: i64, sys: i64, vf: i64, vu: i64, lsn: u64)

Source from the content-addressed store, hash-verified

57}
58
59fn put_cell(e: &mut ArrayEngine, x: i64, v: i64, sys: i64, vf: i64, vu: i64, lsn: u64) {
60 e.put_cells(
61 &aid(),
62 vec![ArrayPutCell {
63 coord: vec![CoordValue::Int64(x)],
64 attrs: vec![CellValue::Int64(v)],
65 surrogate: Surrogate::ZERO,
66 system_from_ms: sys,
67 valid_from_ms: vf,
68 valid_until_ms: vu,
69 }],
70 lsn,
71 )
72 .unwrap();
73}
74
75fn delete_cell(e: &mut ArrayEngine, x: i64, sys: i64, lsn: u64) {
76 e.delete_cells(

Calls 2

put_cellsMethod · 0.80
aidFunction · 0.70

Tested by

no test coverage detected