diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2021-11-09 23:56:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2021-11-09 23:56:12 +0000 |
commit | d42207c9daeead926c33fa4da4bf1dddcc8d7016 (patch) | |
tree | 4501385d5b63e53f1a0a817007191855f99c5c15 /lib/sqlalchemy/sql/compiler.py | |
parent | 53bed05b2768883aab1ef64427f34ddc49fb5fdc (diff) | |
parent | 89661c1a218b7117c1835698dbb81836e72015ae (diff) | |
download | sqlalchemy-d42207c9daeead926c33fa4da4bf1dddcc8d7016.tar.gz |
Merge "set within_columns_clause=False for all sub-elements of select()" into main
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 6611cd55f..191a07299 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -3216,6 +3216,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 ) |