Function
_joins_block
(
node: sql_expr.Expression, tab: table.Joinable, context: ContextType
)
Source from the content-addressed store, hash-verified
| 617 | |
| 618 | |
| 619 | def _joins_block( |
| 620 | node: sql_expr.Expression, tab: table.Joinable, context: ContextType |
| 621 | ) -> tuple[table.Joinable, ContextType]: |
| 622 | if (joins_field := node.args.pop("joins", None)) is not None: |
| 623 | for arg in joins_field: |
| 624 | fun = _join(arg, context) |
| 625 | tab, context = fun(tab, context) |
| 626 | return tab, context |
| 627 | |
| 628 | |
| 629 | def _alias_block( |
Tested by
no test coverage detected