]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Consult _select_from_entity in _adjust_for_single_inheritance
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 16 Jan 2017 18:06:44 +0000 (13:06 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Mar 2017 23:41:21 +0000 (19:41 -0400)
commitb6a6ffa4c0e0911bb6c5e66b67da9789989c7699
tree886688ed07eabdb600a9c566adb084cde64dfd24
parent0a35ccc6bd1acaa91f32c8e0140000b19ae85e14
Consult _select_from_entity in _adjust_for_single_inheritance

Fixed bug in single-table inheritance where the select_from()
argument would not be taken into account when limiting rows
to a subclass.  Previously, only expressions in the
columns requested would be taken into account.

Change-Id: Id353c45eade52b264d8f6685a58ba53975669eea
Fixes: #3891
doc/build/changelog/changelog_12.rst
doc/build/changelog/migration_12.rst
lib/sqlalchemy/orm/query.py
test/orm/inheritance/test_single.py