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

Method test_single_col

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

Source from the content-addressed store, hash-verified

7691 session.query(User).count()
7692
7693 def test_single_col(self):
7694 User = self.classes.User
7695 session = fixture_session()
7696 with self._assert_bind_args(session, expect_mapped_bind=True):
7697 session.query(User.name).all()
7698
7699 def test_single_col_from_subq(self):
7700 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