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

Function put_cell

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

Source from the content-addressed store, hash-verified

52}
53
54fn put_cell(e: &mut ArrayEngine, x: i64, v: i64, sys: i64, lsn: u64) {
55 e.put_cells(
56 &aid(),
57 vec![ArrayPutCell {
58 coord: vec![CoordValue::Int64(x)],
59 attrs: vec![CellValue::Int64(v)],
60 surrogate: Surrogate::ZERO,
61 system_from_ms: sys,
62 valid_from_ms: sys,
63 valid_until_ms: OPEN_UPPER,
64 }],
65 lsn,
66 )
67 .unwrap();
68}
69
70/// When `system_as_of` is below the oldest tile version the query sees an
71/// empty result and the `truncated_before_horizon` flag must be `true`.

Calls 2

put_cellsMethod · 0.80
aidFunction · 0.70

Tested by

no test coverage detected