]> 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:21 +0000 (10:56 -0500)
commit567878e5c67d08c561dd064fe6dc25e4db7349e7
treedd0e50cbf7105758c0ea5931606c15f6e079c0b6
parent946058ec6070ab4db9fdfab612ec4543fea9cd1c
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
doc/build/changelog/unreleased_14/9009.rst [new file with mode: 0644]
lib/sqlalchemy/sql/functions.py
test/sql/test_from_linter.py