MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_aliased_entity_q

Method test_aliased_entity_q

test/orm/test_query.py:7117–7122  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7115 session.query(User).all()
7116
7117 def test_aliased_entity_q(self):
7118 User = self.classes.User
7119 u = aliased(User)
7120 session = fixture_session()
7121 with self._assert_bind_args(session, expect_mapped_bind=True):
7122 session.query(u).all()
7123
7124 def test_sql_expr_entity_q(self):
7125 User = self.classes.User

Callers

nothing calls this directly

Calls 5

_assert_bind_argsMethod · 0.95
aliasedFunction · 0.90
fixture_sessionFunction · 0.90
allMethod · 0.45
queryMethod · 0.45

Tested by

no test coverage detected