[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - the change for #918 was of course not nearly that
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2015-03-08 04:10:23
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/17b2fd3fba8e/ Changeset: 17b2fd3fba8e Branch: None User: zzzeek Date: 2015-03-08 04:03:27+00:00 Summary: - the change for #918 was of course not nearly that simple. The "wrapping" employed by the mssql and oracle dialects using the "iswrapper" argument was not being used intelligently by the compiler, and the result map was being written incorrectly, using *more* columns in the result map than were actually returned by the statement, due to "row number" columns that are inside the subquery. The compiler now writes out result map on the "top level" select in all cases fully, and for the mssql/oracle wrapping case extracts out the "proxied" columns in a second step, which only includes those columns that are proxied outwards to the top level. This change might have implications for 3rd party dialects that might be imitating oracle's approach. They can safely continue to use the "iswrapper" kw which is now ignored, but they may need to also add the _select_wraps argument as well. Affected #: 6 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. |