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

Method go

test/orm/test_selectin_relations.py:2582–2593  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2580 session = fixture_session()
2581
2582 def go():
2583 statement = (
2584 select(A)
2585 .options(
2586 selectinload(A.bs, chunksize=3).selectinload(
2587 B.cs, chunksize=4
2588 )
2589 )
2590 .order_by(A.id)
2591 )
2592
2593 session.scalars(statement).all()
2594
2595 self.assert_sql_execution(
2596 testing.db,

Callers

nothing calls this directly

Calls 7

selectFunction · 0.90
selectinloadFunction · 0.90
selectinloadMethod · 0.80
order_byMethod · 0.45
optionsMethod · 0.45
allMethod · 0.45
scalarsMethod · 0.45

Tested by

no test coverage detected