コード例 #1
0
 def _join_fixture_compound_expression_1(self, **kw):
     return relationships.JoinCondition(
         self.left,
         self.right,
         self.left,
         self.right,
         primaryjoin=(self.left.c.x + self.left.c.y)
         == relationships.remote(relationships.foreign(self.right.c.x * self.right.c.y)),
         **kw
     )
コード例 #2
0
ファイル: test_rel_fn.py プロジェクト: wronglink/sqlalchemy
 def _join_fixture_compound_expression_1(self, **kw):
     return relationships.JoinCondition(
         self.left,
         self.right,
         self.left,
         self.right,
         primaryjoin=(self.left.c.x +
                      self.left.c.y) == relationships.remote(
                          relationships.foreign(self.right.c.x *
                                                self.right.c.y)),
         **kw)