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

Function timeseries_scan

nodedb-test-support/src/tx_batch_helpers.rs:265–281  ·  view source on GitHub ↗
(collection: &str)

Source from the content-addressed store, hash-verified

263}
264
265pub fn timeseries_scan(collection: &str) -> PhysicalPlan {
266 PhysicalPlan::Timeseries(TimeseriesOp::Scan {
267 collection: collection.into(),
268 time_range: (0, i64::MAX),
269 projection: Vec::new(),
270 limit: 100,
271 filters: Vec::new(),
272 bucket_interval_ms: 0,
273 group_by: Vec::new(),
274 aggregates: Vec::new(),
275 gap_fill: String::new(),
276 rls_filters: Vec::new(),
277 system_as_of_ms: None,
278 valid_at_ms: None,
279 computed_columns: Vec::new(),
280 })
281}
282
283pub fn crdt_apply(collection: &str, doc_id: &str) -> PhysicalPlan {
284 PhysicalPlan::Crdt(CrdtOp::Apply {

Callers 1

assert_ts_countFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected