[Sqlalchemy-commits] commit/sqlalchemy: 4 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2014-11-10 23:02:44
|
4 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/a19b2f419cd8/ Changeset: a19b2f419cd8 Branch: None User: zzzeek Date: 2014-11-10 22:37:26+00:00 Summary: - The :attr:`.Column.key` attribute is now used as the source of anonymous bound parameter names within expressions, to match the existing use of this value as the key when rendered in an INSERT or UPDATE statement. This allows :attr:`.Column.key` to be used as a "substitute" string to work around a difficult column name that doesn't translate well into a bound parameter name. Note that the paramstyle is configurable on :func:`.create_engine` in any case, and most DBAPIs today support a named and positional style. fixes #3245 Affected #: 4 files https://bitbucket.org/zzzeek/sqlalchemy/commits/21022f9760e3/ Changeset: 21022f9760e3 Branch: None User: zzzeek Date: 2014-11-10 22:58:09+00:00 Summary: - in lieu of adding a new system of translating bound parameter names for psycopg2 and others, encourage users to take advantage of positional styles by documenting "paramstyle". A section is added to psycopg2 specifically as this is a pretty common spot for named parameters that may be unusually named. fixes #3246. Affected #: 2 files https://bitbucket.org/zzzeek/sqlalchemy/commits/d6da110c8135/ Changeset: d6da110c8135 Branch: None User: zzzeek Date: 2014-11-10 22:59:27+00:00 Summary: - in lieu of adding a new system of translating bound parameter names for psycopg2 and others, encourage users to take advantage of positional styles by documenting "paramstyle". A section is added to psycopg2 specifically as this is a pretty common spot for named parameters that may be unusually named. fixes #3246. Affected #: 2 files https://bitbucket.org/zzzeek/sqlalchemy/commits/c5d2f0999b15/ Changeset: c5d2f0999b15 Branch: rel_0_9 User: zzzeek Date: 2014-11-10 23:02:14+00:00 Summary: - we aren't changing .key behavior yet here, this is just documentation Affected #: 1 file 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. |