(self)
| 395 | ) |
| 396 | |
| 397 | def test_right_nested_inner_join(self): |
| 398 | inner = child.join(grandchild) |
| 399 | |
| 400 | stmt = select(parent).outerjoin_from(parent, inner) |
| 401 | |
| 402 | self.assert_compile( |
| 403 | stmt, |
| 404 | "SELECT parent.id, parent.data FROM parent " |
| 405 | "LEFT OUTER JOIN " |
| 406 | "(child JOIN grandchild ON child.id = grandchild.child_id) " |
| 407 | "ON parent.id = child.parent_id", |
| 408 | ) |
| 409 | |
| 410 | def test_joins_w_filter_by(self): |
| 411 | # Note: Both parent and child have a "data" column |
nothing calls this directly
no test coverage detected