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

Function schema

nodedb/tests/bitemporal_array_temporal_purge.rs:30–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28// ── shared fixtures ────────────────────────────────────────────────────────────
29
30fn schema() -> Arc<nodedb_array::schema::ArraySchema> {
31 Arc::new(
32 ArraySchemaBuilder::new("purge")
33 .dim(DimSpec::new(
34 "x",
35 DimType::Int64,
36 Domain::new(DomainBound::Int64(0), DomainBound::Int64(15)),
37 ))
38 .attr(AttrSpec::new("v", AttrType::Int64, true))
39 .tile_extents(vec![4])
40 .build()
41 .unwrap(),
42 )
43}
44
45const SCHEMA_HASH: u64 = 0xA5_A5_A5_A5_A5_A5_A5_A5;
46const TENANT: TenantId = TenantId::new(0);

Callers 1

open_engineFunction · 0.70

Calls 4

buildMethod · 0.45
tile_extentsMethod · 0.45
attrMethod · 0.45
dimMethod · 0.45

Tested by

no test coverage detected