diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2021-11-09 23:56:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2021-11-09 23:56:20 +0000 |
commit | 411de1f1cf6cb5372094a99ac145a26e8d751f34 (patch) | |
tree | 53f1a069c22bc73b6bd69bb494c395e29d1b4325 /lib/sqlalchemy/sql/compiler.py | |
parent | 6dd5479de64f98b5b69023a2c7732d3a9d57237b (diff) | |
parent | d8c12d9f180eeed9d2c5174eeb0c74169a04262f (diff) | |
download | sqlalchemy-411de1f1cf6cb5372094a99ac145a26e8d751f34.tar.gz |
Merge "set within_columns_clause=False for all sub-elements of select()" into rel_1_4
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 89bee0a57..867bb4dcd 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -3217,6 +3217,9 @@ class SQLCompiler(Compiled): # passed in. for ORM use this will convert from an ORM-state # SELECT to a regular "Core" SELECT. other composed operations # such as computation of joins will be performed. + + kwargs["within_columns_clause"] = False + compile_state = select_stmt._compile_state_factory( select_stmt, self, **kwargs ) |