summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/lambdas.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2021-09-02 14:11:38 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2021-09-04 10:50:16 -0400
commit95870c9569053e935ffe92e34af4aeb4bfd978a3 (patch)
tree8e71bb961b90957fda63f6a0f77125643546c8c2 /lib/sqlalchemy/sql/lambdas.py
parentd640192877e4d1da75e8dea34d2374c404e80538 (diff)
downloadsqlalchemy-95870c9569053e935ffe92e34af4aeb4bfd978a3.tar.gz
turn off deduping for col expressions
Fixed ORM issue where column expressions passed to ``query()`` or ORM-enabled ``select()`` would be deduplicated on the identity of the object, such as a phrase like ``select(A.id, null(), null())`` would produce only one "NULL" expression, which previously was not the case in 1.3. However, the change also allows for ORM expressions to render as given as well, such as ``select(A.data, A.data)`` will produce a result row with two columns. Fixes: #6979 Change-Id: I4dd59d4c7b1baa711b686379eb959f87c44841c4
Diffstat (limited to 'lib/sqlalchemy/sql/lambdas.py')
0 files changed, 0 insertions, 0 deletions