def test_join_x1(self):

        for criteria in (t1.c.t1_id == t2.c.t1_id, t2.c.t1_id == t1.c.t1_id):
            expr = select(
                [t1.c.t1_id, t2.c.t2_id],
                from_obj=[t1.join(t2, criteria)])
            self.assertRows(expr, [(10, 20), (11, 21)])
Joins t1->t2.
dataset/ETHPy150Open zzzeek/sqlalchemy/test/sql/test_query.py/JoinTest.test_join_x1