MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_join_targets_o2m_plain

Method test_join_targets_o2m_plain

test/orm/test_rel_fn.py:1208–1216  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1206 self.assert_compile(pj, "selfref.id = pj.sid")
1207
1208 def test_join_targets_o2m_plain(self):
1209 joincond = self._join_fixture_o2m()
1210 pj, sj, sec, adapter, ds = joincond.join_targets(
1211 joincond.parent_persist_selectable,
1212 joincond.child_persist_selectable,
1213 False,
1214 )
1215 self.assert_compile(pj, "lft.id = rgt.lid")
1216 self.assert_compile(pj, "lft.id = rgt.lid")
1217
1218 def test_join_targets_o2m_left_aliased(self):
1219 joincond = self._join_fixture_o2m()

Callers

nothing calls this directly

Calls 3

_join_fixture_o2mMethod · 0.80
join_targetsMethod · 0.80
assert_compileMethod · 0.80

Tested by

no test coverage detected