MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_sql_expr_entity_q

Method test_sql_expr_entity_q

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

Source from the content-addressed store, hash-verified

7122 session.query(u).all()
7123
7124 def test_sql_expr_entity_q(self):
7125 User = self.classes.User
7126 session = fixture_session()
7127 with self._assert_bind_args(session, expect_mapped_bind=True):
7128 session.query(User.id).all()
7129
7130 def test_sql_expr_subquery_from_entity(self):
7131 User = self.classes.User

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected