(expr: &ast::Expr)
| 469 | } |
| 470 | |
| 471 | fn extract_qualified_column(expr: &ast::Expr) -> Option<(String, String)> { |
| 472 | match expr { |
| 473 | ast::Expr::CompoundIdentifier(parts) if parts.len() == 2 => { |
| 474 | Some((normalize_ident(&parts[0]), normalize_ident(&parts[1]))) |
| 475 | } |
| 476 | _ => None, |
| 477 | } |
| 478 | } |
| 479 | |
| 480 | fn extract_table_name(relation: &ast::TableFactor) -> Option<String> { |
| 481 | match relation { |
no test coverage detected