MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_inner_joinedload_wo_limit

Method test_inner_joinedload_wo_limit

test/orm/test_lockmode.py:99–105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

97 sess.close()
98
99 def test_inner_joinedload_wo_limit(self):
100 User = self.classes.User
101 sess = fixture_session()
102 sess.query(User).options(
103 joinedload(User.addresses, innerjoin=True)
104 ).with_for_update().all()
105 sess.close()
106
107 def test_outer_joinedload_w_limit(self):
108 User = self.classes.User

Callers

nothing calls this directly

Calls 7

fixture_sessionFunction · 0.90
joinedloadFunction · 0.90
allMethod · 0.45
with_for_updateMethod · 0.45
optionsMethod · 0.45
queryMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected