Returns true if string `id` matches TableReference `ref`
(id, ref)
| 498 | |
| 499 | |
| 500 | def identifies(id, ref): |
| 501 | """Returns true if string `id` matches TableReference `ref`""" |
| 502 | |
| 503 | return ( |
| 504 | id == ref.alias or id == ref.name or |
| 505 | (ref.schema and (id == ref.schema + "." + ref.name)) |
| 506 | ) |
| 507 | |
| 508 | |
| 509 | def _allow_join_condition(statement): |
no outgoing calls
no test coverage detected