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

Method test_a_to_d

test/aaa_profiling/test_orm.py:970–981  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

968 go()
969
970 def test_a_to_d(self):
971 A, D = self.classes("A", "D")
972
973 # the join condition between A and D uses a secondary selectable with
974 # overlap so incurs aliasing, which is expensive, there is also a check
975 # that determines that this overlap exists which is not currently
976 # cached
977 @profiling.function_call_count(times=50, warmup=1)
978 def go():
979 orm_join(A, D, A.d)
980
981 go()
982
983 def test_a_to_d_aliased(self):
984 A, D = self.classes("A", "D")

Callers

nothing calls this directly

Calls 1

goFunction · 0.70

Tested by

no test coverage detected