MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / find_unmatching_froms

Function find_unmatching_froms

test/sql/test_from_linter.py:21–24  ·  view source on GitHub ↗
(query, start=None)

Source from the content-addressed store, hash-verified

19
20
21def find_unmatching_froms(query, start=None):
22 compiled = query.compile(linting=sql.COLLECT_CARTESIAN_PRODUCTS)
23
24 return compiled.from_linter.lint(start)
25
26
27class TestFindUnmatchingFroms(fixtures.TablesTest):

Calls 2

lintMethod · 0.80
compileMethod · 0.45

Tested by

no test coverage detected