]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added a new entry ``"entity"`` to the dictionaries returned by
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Mar 2015 18:46:52 +0000 (14:46 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Mar 2015 18:46:52 +0000 (14:46 -0400)
commitb815e9483319b93f98bef11c7d47378441f78d21
tree00a1e0a6e015cd12a386b9c67922b1f2bf7926e4
parent71b8df2e5319773008e83f784543a716a80d7511
- Added a new entry ``"entity"`` to the dictionaries returned by
:attr:`.Query.column_descriptions`.  This refers to the primary ORM
mapped class or aliased class that is referred to by the expression.
Compared to the existing entry for ``"type"``, it will always be
a mapped entity, even if extracted from a column expression, or
None if the given expression is a pure core expression.
references #3320
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/query.py
test/orm/test_query.py