[Sqlalchemy-commits] commit/sqlalchemy: 2 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2014-11-24 23:50:14
|
2 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/ba926a09b493/ Changeset: ba926a09b493 Branch: None User: zzzeek Date: 2014-11-24 22:35:50+00:00 Summary: - add some logging to path_registry to help debug eager loading issues Affected #: 2 files https://bitbucket.org/zzzeek/sqlalchemy/commits/de11f9498258/ Changeset: de11f9498258 Branch: master User: zzzeek Date: 2014-11-24 23:49:32+00:00 Summary: - The :meth:`.PropComparator.of_type` modifier has been improved in conjunction with loader directives such as :func:`.joinedload` and :func:`.contains_eager` such that if two :meth:`.PropComparator.of_type` modifiers of the same base type/path are encountered, they will be joined together into a single "polymorphic" entity, rather than replacing the entity of type A with the one of type B. E.g. a joinedload of ``A.b.of_type(BSub1)->BSub1.c`` combined with joinedload of ``A.b.of_type(BSub2)->BSub2.c`` will create a single joinedload of ``A.b.of_type((BSub1, BSub2)) -> BSub1.c, BSub2.c``, without the need for the ``with_polymorphic`` to be explicit in the query. fixes #3256 Affected #: 7 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |