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

Method go

test/orm/test_froms.py:1240–1246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1238 q = sess.query(User)
1239
1240 def go():
1241 result = (
1242 q.options(contains_eager(User.addresses))
1243 .from_statement(query)
1244 .all()
1245 )
1246 assert self.static.user_address_result == result
1247
1248 self.assert_sql_count(testing.db, go, 1)
1249

Callers

nothing calls this directly

Calls 15

contains_eagerFunction · 0.90
aliasedFunction · 0.90
eq_Function · 0.90
joinedloadFunction · 0.90
contains_eagerMethod · 0.80
UserClass · 0.70
AddressClass · 0.70
DingalingClass · 0.70
OrderClass · 0.70
allMethod · 0.45
from_statementMethod · 0.45
optionsMethod · 0.45

Tested by

no test coverage detected