MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / go

Method go

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

Source from the content-addressed store, hash-verified

1735 sess = fixture_session()
1736
1737 def go():
1738 eq_(
1739 sess.query(A).all(),
1740 [
1741 A(
1742 data="a1",
1743 bs=[B(data="b3"), B(data="b1"), B(data="b2")],
1744 ),
1745 A(bs=[B(data="b4"), B(data="b3"), B(data="b2")]),
1746 ],
1747 )
1748
1749 self.assert_sql_count(testing.db, go, 2)
1750

Callers

nothing calls this directly

Calls 5

eq_Function · 0.90
AClass · 0.70
BClass · 0.70
allMethod · 0.45
queryMethod · 0.45

Tested by

no test coverage detected