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

Function schema

nodedb/tests/bitemporal_array_gdpr.rs:34–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Calls 4

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

Tested by

no test coverage detected