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

Function int64_dim

nodedb-array/src/schema/builder.rs:87–93  ·  view source on GitHub ↗
(name: &str, hi: i64)

Source from the content-addressed store, hash-verified

85 use crate::types::domain::{Domain, DomainBound};
86
87 fn int64_dim(name: &str, hi: i64) -> DimSpec {
88 DimSpec::new(
89 name,
90 DimType::Int64,
91 Domain::new(DomainBound::Int64(0), DomainBound::Int64(hi)),
92 )
93 }
94
95 #[test]
96 fn build_succeeds_for_well_formed_schema() {

Calls

no outgoing calls