MCPcopy
hub / github.com/marimo-team/marimo / test_with_subquery

Method test_with_subquery

tests/_ast/test_sql_visitor.py:562–567  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

560 }
561
562 def test_with_subquery(self) -> None:
563 sql = "SELECT * FROM table1 WHERE id IN (SELECT id FROM table2);"
564 assert find_sql_refs(sql) == {
565 SQLRef(table="table2"),
566 SQLRef(table="table1"),
567 }
568
569 def test_with_subquery_2(self) -> None:
570 sql = """

Callers

nothing calls this directly

Calls 2

find_sql_refsFunction · 0.90
SQLRefClass · 0.90

Tested by

no test coverage detected