MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_lazy_clause_o2m_reverse

Method test_lazy_clause_o2m_reverse

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

Source from the content-addressed store, hash-verified

1267 self.assert_compile(lazywhere, ":param_1 = rgt.lid")
1268
1269 def test_lazy_clause_o2m_reverse(self):
1270 joincond = self._join_fixture_o2m()
1271 lazywhere, bind_to_col, equated_columns = joincond.create_lazy_clause(
1272 reverse_direction=True
1273 )
1274 self.assert_compile(lazywhere, "lft.id = :param_1")
1275
1276 def test_lazy_clause_o2m_o_side_none(self):
1277 # test for #2948. When the join is "o.id == m.oid

Callers

nothing calls this directly

Calls 3

_join_fixture_o2mMethod · 0.80
create_lazy_clauseMethod · 0.80
assert_compileMethod · 0.80

Tested by

no test coverage detected