MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_correlate_except_having

Method test_correlate_except_having

test/sql/test_compiler.py:7611–7617  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7609 )
7610
7611 def test_correlate_except_having(self):
7612 t1, t2, s1 = self._fixture()
7613 self._assert_having_correlated(
7614 select(t2).having(
7615 t2.c.a == s1.correlate_except(t1).scalar_subquery()
7616 )
7617 )
7618
7619 def test_correlate_auto_where(self):
7620 t1, t2, s1 = self._fixture()

Callers

nothing calls this directly

Calls 6

_fixtureMethod · 0.95
selectFunction · 0.90
havingMethod · 0.45
scalar_subqueryMethod · 0.45
correlate_exceptMethod · 0.45

Tested by

no test coverage detected