MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_correlate_disabled_having

Method test_correlate_disabled_having

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

Source from the content-addressed store, hash-verified

7654 self._assert_from_uncorrelated(select(t2, s1.correlate(None).alias()))
7655
7656 def test_correlate_disabled_having(self):
7657 t1, t2, s1 = self._fixture()
7658 self._assert_having_uncorrelated(
7659 select(t2).having(t2.c.a == s1.correlate(None).scalar_subquery())
7660 )
7661
7662 def test_correlate_all_where(self):
7663 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
correlateMethod · 0.45

Tested by

no test coverage detected