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

Function schema

nodedb/tests/bitemporal_array_basic.rs:31–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

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