]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
add joins_implicitly to column_valued()
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 19 Dec 2022 20:15:35 +0000 (15:15 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Dec 2022 15:56:55 +0000 (10:56 -0500)
commit5e56b180becf010cc1b912fe41997f36b5ddc361
treee772ebd2568a4df55282974608414b806aed0e4e
parentdeef63c190a423ed7a6d340df17a6318492c1fb2
add joins_implicitly to column_valued()

Added parameter
:paramref:`.FunctionElement.column_valued.joins_implicitly`, which is
useful in preventing the "cartesian product" warning when making use of
table-valued or column-valued functions. This parameter was already
introduced for :meth:`.FunctionElement.table_valued` in :ticket:`7845`,
however it failed to be added for :meth:`.FunctionElement.column_valued`
as well.

Fixes: #9009
Change-Id: Ifb72fbcb4f4d2998e730d6f85ec7280df3bf3d47
(cherry picked from commit 567878e5c67d08c561dd064fe6dc25e4db7349e7)
doc/build/changelog/unreleased_14/9009.rst [new file with mode: 0644]
lib/sqlalchemy/sql/functions.py
test/sql/test_from_linter.py