[Sqlalchemy-commits] commit/sqlalchemy: 4 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2014-09-02 00:20:49
|
4 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/ce0fee6993ee/ Changeset: ce0fee6993ee Branch: None User: zzzeek Date: 2014-09-02 00:23:19 Summary: Merge branch 'master' into ticket_2992 Affected #: 3 files https://bitbucket.org/zzzeek/sqlalchemy/commits/3bffd139fe69/ Changeset: 3bffd139fe69 Branch: None User: zzzeek Date: 2014-09-02 01:26:15 Summary: - this is all tests passing with new behavior + tests for warnings in core/ORM + tests for order_by behavior Affected #: 13 files https://bitbucket.org/zzzeek/sqlalchemy/commits/aa22eb9a4ffd/ Changeset: aa22eb9a4ffd Branch: ticket_2992 User: zzzeek Date: 2014-09-02 02:13:18 Summary: - changelog, migration Affected #: 7 files https://bitbucket.org/zzzeek/sqlalchemy/commits/7c6a45c480a8/ Changeset: 7c6a45c480a8 Branch: None User: zzzeek Date: 2014-09-02 02:19:54 Summary: - The :func:`~.expression.column` and :func:`~.expression.table` constructs are now importable from the "from sqlalchemy" namespace, just like every other Core construct. - The implicit conversion of strings to :func:`.text` constructs when passed to most builder methods of :func:`.select` as well as :class:`.Query` now emits a warning with just the plain string sent. The textual conversion still proceeds normally, however. The only method that accepts a string without a warning are the "label reference" methods like order_by(), group_by(); these functions will now at compile time attempt to resolve a single string argument to a column or label expression present in the selectable; if none is located, the expression still renders, but you get the warning again. The rationale here is that the implicit conversion from string to text is more unexpected than not these days, and it is better that the user send more direction to the Core / ORM when passing a raw string as to what direction should be taken. Core/ORM tutorials have been updated to go more in depth as to how text is handled. fixes #2992 Affected #: 33 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. |