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

Method schema

crates/expr/src/statement.rs:598–600  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

596 }
597
598 fn schema(&self, name: &str) -> Option<Arc<TableOrViewSchema>> {
599 self.schema_for_view(name)
600 }
601
602 fn schema_for_table(&self, _: TableId) -> Option<Arc<TableOrViewSchema>> {
603 self.schema_for_view("v")

Callers 8

type_insertFunction · 0.45
type_deleteFunction · 0.45
type_updateFunction · 0.45
type_and_rewrite_setFunction · 0.45
type_and_rewrite_showFunction · 0.45
test_rls_for_ownerFunction · 0.45
test_rls_for_non_ownerFunction · 0.45

Calls 1

schema_for_viewMethod · 0.80

Tested by 3

test_rls_for_ownerFunction · 0.36
test_rls_for_non_ownerFunction · 0.36