diff options
Diffstat (limited to 'lib/sqlalchemy/sql')
-rw-r--r-- | lib/sqlalchemy/sql/selectable.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 9a135c01a..01d617259 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -180,6 +180,8 @@ class FromClause(Selectable): E.g.:: + from sqlalchemy import join + j = user_table.join(address_table, user_table.c.id == address_table.c.user_id) stmt = select([user_table]).select_from(j) @@ -216,6 +218,8 @@ class FromClause(Selectable): E.g.:: + from sqlalchemy import outerjoin + j = user_table.outerjoin(address_table, user_table.c.id == address_table.c.user_id) |