MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_correlate_auto_having

Method test_correlate_auto_having

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

Source from the content-addressed store, hash-verified

7631 self._assert_from_uncorrelated(select(t2, s1.alias()))
7632
7633 def test_correlate_auto_having(self):
7634 t1, t2, s1 = self._fixture()
7635 self._assert_having_correlated(
7636 select(t2).having(t2.c.a == s1.scalar_subquery())
7637 )
7638
7639 @testing.combinations(False, None)
7640 def test_correlate_disabled_where(self, value):

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected