summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/sqlite
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-05-31 10:48:16 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-05-31 13:00:14 -0400
commitd1142c6e9f6fb0e52bd496c56bdc88047df66c55 (patch)
treefaf4c63574152fe306120db83d35b5e167620b3c /lib/sqlalchemy/dialects/sqlite
parentd97de97eff21af3bdacffc2b625feb7e0bd6c18c (diff)
downloadsqlalchemy-d1142c6e9f6fb0e52bd496c56bdc88047df66c55.tar.gz
raise informative error when selectable can't be extended
An informative error is raised for the use case where :meth:`.Insert.from_select` is being passed a "compound select" object such as a UNION, yet the INSERT statement needs to append additional columns to support Python-side or explicit SQL defaults from the table metadata. In this case a subquery of the compound object should be passed. Fixes: #8073 Change-Id: Ic4a5dbf84ec49d2451901be05cb9cf6ae93f02b7
Diffstat (limited to 'lib/sqlalchemy/dialects/sqlite')
0 files changed, 0 insertions, 0 deletions