MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_count

Method test_count

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

Source from the content-addressed store, hash-verified

7160 session.query(bundle).all()
7161
7162 def test_count(self):
7163 User = self.classes.User
7164 session = fixture_session()
7165 with self._assert_bind_args(session, expect_mapped_bind=True):
7166 session.query(User).count()
7167
7168 def test_single_col(self):
7169 User = self.classes.User

Callers

nothing calls this directly

Calls 4

_assert_bind_argsMethod · 0.95
fixture_sessionFunction · 0.90
countMethod · 0.45
queryMethod · 0.45

Tested by

no test coverage detected