MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / count

Method count

test/orm/test_events.py:4143–4144  ·  view source on GitHub ↗
(query)

Source from the content-addressed store, hash-verified

4141
4142 @event.listens_for(query.Query, "before_compile")
4143 def count(query):
4144 counter[0] += 1
4145
4146 User = self.classes.User
4147 s = fixture_session()

Calls

no outgoing calls

Tested by

no test coverage detected