MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / extract_table_name

Function extract_table_name

nodedb-sql/src/planner/cte.rs:480–485  ·  view source on GitHub ↗
(relation: &ast::TableFactor)

Source from the content-addressed store, hash-verified

478}
479
480fn extract_table_name(relation: &ast::TableFactor) -> Option<String> {
481 match relation {
482 ast::TableFactor::Table { name, .. } => normalize_object_name_checked(name).ok(),
483 _ => None,
484 }
485}
486
487fn extract_table_alias(relation: &ast::TableFactor) -> Option<String> {
488 match relation {

Callers 1

extract_recursive_infoFunction · 0.85

Calls 2

okMethod · 0.45

Tested by

no test coverage detected