diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-05-14 10:29:55 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-05-14 11:49:01 -0400 |
| commit | 31b793894f7e45503ebebd28d93fc95d92768aa1 (patch) | |
| tree | b7092db03574a71e6e3a2036a0d19dc55c0df5c0 /lib/sqlalchemy/sql | |
| parent | 0d5508d77653b37368ff9de22307c154cc90cf71 (diff) | |
| download | sqlalchemy-31b793894f7e45503ebebd28d93fc95d92768aa1.tar.gz | |
Consult plugin_subject for non-ORM enabled stmts in get_bind()
Enhanced the bind resolution rules for :meth:`_orm.Session.execute` so that
when a non-ORM statement such as an :func:`_sql.insert` construct
nonetheless is built against ORM objects, to the greatest degree possible
the ORM entity will be used to resolve the bind, such as for a
:class:`_orm.Session` that has a bind map set up on a common superclass
without specific mappers or tables named in the map.
Fixes: #6484
Change-Id: Iaa711b7f2c7451377b50af63029f37c4375a6f7e
Diffstat (limited to 'lib/sqlalchemy/sql')
0 files changed, 0 insertions, 0 deletions
