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

Method return_table

crates/expr/src/expr.rs:75–80  ·  view source on GitHub ↗

The [`TableOrViewSchema`] of the returned rows. Note this expression returns rows from a relvar. Hence it this method should never return [None].

(&self)

Source from the content-addressed store, hash-verified

73 /// Note this expression returns rows from a relvar.
74 /// Hence it this method should never return [None].
75 pub fn return_table(&self) -> Option<&TableOrViewSchema> {
76 match self {
77 Self::None(input) => input.return_table(),
78 Self::Some(input, alias) => input.find_table_schema(alias),
79 }
80 }
81
82 /// The [TableId] of the returned rows.
83 /// Note this expression returns rows from a relvar.

Callers 6

for_each_return_fieldMethod · 0.45
return_table_idMethod · 0.45
execute_one_off_queryMethod · 0.45
run_query_for_viewFunction · 0.45
num_colsMethod · 0.45
num_private_colsMethod · 0.45

Calls 1

find_table_schemaMethod · 0.45

Tested by

no test coverage detected