MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / go

Method go

test/orm/test_default_strategies.py:207–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205 # test _downgrade_fixture mapper defaults, 3 queries (2 subquery
206 # loads).
207 def go():
208 users[:] = (
209 sess.query(self.classes.User)
210 .order_by(self.classes.User.id)
211 .all()
212 )
213
214 self.assert_sql_count(testing.db, go, 3)
215

Callers

nothing calls this directly

Calls 13

subqueryloadFunction · 0.90
joinedloadFunction · 0.90
defaultloadFunction · 0.90
eq_Function · 0.90
enable_eagerloadsMethod · 0.80
joinedloadMethod · 0.80
defaultloadMethod · 0.80
subqueryloadMethod · 0.80
allMethod · 0.45
order_byMethod · 0.45
queryMethod · 0.45
optionsMethod · 0.45

Tested by

no test coverage detected