MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_single_col

Method test_single_col

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

Source from the content-addressed store, hash-verified

7166 session.query(User).count()
7167
7168 def test_single_col(self):
7169 User = self.classes.User
7170 session = fixture_session()
7171 with self._assert_bind_args(session, expect_mapped_bind=True):
7172 session.query(User.name).all()
7173
7174 def test_single_col_from_subq(self):
7175 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