MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_aggregate_fn

Method test_aggregate_fn

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

Source from the content-addressed store, hash-verified

7179 session.query(subq.c.name).all()
7180
7181 def test_aggregate_fn(self):
7182 User = self.classes.User
7183 session = fixture_session()
7184 with self._assert_bind_args(session, expect_mapped_bind=True):
7185 session.query(func.max(User.name)).all()
7186
7187 def test_case(self):
7188 User = self.classes.User

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected