MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / views

Method views

crates/schema/src/def.rs:279–281  ·  view source on GitHub ↗

The views of the module definition.

(&self)

Source from the content-addressed store, hash-verified

277
278 /// The views of the module definition.
279 pub fn views(&self) -> impl Iterator<Item = &ViewDef> {
280 self.views.values()
281 }
282
283 /// The type definitions of the module definition.
284 pub fn types(&self) -> impl Iterator<Item = &TypeDef> {

Callers 9

init_database_innerFunction · 0.45
newMethod · 0.45
validateFunction · 0.45
generate_type_filesMethod · 0.45
generate_global_filesMethod · 0.45
iter_viewsFunction · 0.45

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected