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

Function table_ref_matches

nodedb-sql/src/planner/cte.rs:309–316  ·  view source on GitHub ↗
(factor: &ast::TableFactor, cte_name: &str)

Source from the content-addressed store, hash-verified

307}
308
309fn table_ref_matches(factor: &ast::TableFactor, cte_name: &str) -> bool {
310 match factor {
311 ast::TableFactor::Table { name, .. } => normalize_object_name_checked(name)
312 .map(|n| n.eq_ignore_ascii_case(cte_name))
313 .unwrap_or(false),
314 _ => false,
315 }
316}
317
318fn is_nullable_join_side(op: &ast::JoinOperator) -> bool {
319 use ast::JoinOperator::*;

Callers 2

validate_self_ref_countFunction · 0.85
query_references_cteFunction · 0.85

Calls 1

Tested by

no test coverage detected