Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ dim
Method
dim
nodedb-array/src/schema/builder.rs:40–43 ·
view source on GitHub ↗
(mut self, dim: DimSpec)
Source
from the content-addressed store, hash-verified
38
}
39
40
pub fn dim(mut self, dim: DimSpec) -> Self {
41
self.dims.push(dim);
42
self
43
}
44
45
pub fn attr(mut self, attr: AttrSpec) -> Self {
46
self.attrs.push(attr);
Callers
15
schema
Function · 0.45
schema
Function · 0.45
schema
Function · 0.45
schema
Function · 0.45
schema
Function · 0.45
schema
Function · 0.45
schema
Function · 0.45
schema
Function · 0.45
schema
Function · 0.45
schema
Function · 0.45
schema_2d
Function · 0.45
schema
Function · 0.45
Calls
1
push
Method · 0.45
Tested by
3
build_succeeds_for_well_formed_schema
Function · 0.36
build_rejects_no_attrs
Function · 0.36
build_rejects_extent_arity_mismatch
Function · 0.36