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

Method test_query_col

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

Source from the content-addressed store, hash-verified

1253 )
1254
1255 def test_query_col(self):
1256 A = self._fixture()
1257 sess = fixture_session()
1258 self.assert_compile(
1259 sess.query(A.value(5)),
1260 "SELECT foo(a.value, :foo_1) + :foo_2 AS anon_1 FROM a",
1261 )
1262
1263 def test_aliased_query_col(self):
1264 A = self._fixture()

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected