MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_aliased_query_col

Method test_aliased_query_col

test/ext/test_hybrid.py:1263–1269  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1261 )
1262
1263 def test_aliased_query_col(self):
1264 A = self._fixture()
1265 sess = fixture_session()
1266 self.assert_compile(
1267 sess.query(aliased(A).value(5)),
1268 "SELECT foo(a_1.value, :foo_1) + :foo_2 AS anon_1 FROM a AS a_1",
1269 )
1270
1271 def test_docstring(self):
1272 A = self._fixture()

Callers

nothing calls this directly

Calls 6

_fixtureMethod · 0.95
fixture_sessionFunction · 0.90
aliasedFunction · 0.90
assert_compileMethod · 0.80
queryMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected