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

Method find_table_id

crates/expr/src/expr.rs:337–339  ·  view source on GitHub ↗

Return the [TableId] for a relvar in the expression

(&self, alias: &str)

Source from the content-addressed store, hash-verified

335
336 /// Return the [TableId] for a relvar in the expression
337 pub fn find_table_id(&self, alias: &str) -> Option<TableId> {
338 self.find_table_schema(alias).map(|schema| schema.table_id)
339 }
340
341 /// Does this expression return a single relvar?
342 /// If so, return it's [`TableOrViewSchema`], otherwise return [None].

Callers 1

return_table_idMethod · 0.80

Calls 2

mapMethod · 0.45
find_table_schemaMethod · 0.45

Tested by

no test coverage detected