]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- A TypeDecorator of Integer can be used with a primary key
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 11 Jan 2011 20:22:46 +0000 (15:22 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 11 Jan 2011 20:22:46 +0000 (15:22 -0500)
commit67e0f356b2093fdc03303d50be1f89e75e847c7f
treee2209edb3a8aeb16702bc47573b9809a8e521db5
parent0342a4886f00b34cf02e0d2d986a0896ba946788
- A TypeDecorator of Integer can be used with a primary key
  column, and the "autoincrement" feature of various dialects
  as well as the "sqlite_autoincrement" flag will honor
  the underlying database type as being Integer-based.
 [ticket:2005]

- Result-row processors are applied to pre-executed SQL
  defaults, as well as cursor.lastrowid, when determining
  the contents of result.inserted_primary_key.
  [ticket:2006]

- Bind parameters present in the "columns clause" of a select
  are now auto-labeled like other "anonymous" clauses,
  which among other things allows their "type" to be meaningful
  when the row is fetched, as in result row processors.

- TypeDecorator is present in the "sqlalchemy" import space.
18 files changed:
CHANGES
lib/sqlalchemy/__init__.py
lib/sqlalchemy/dialects/firebird/base.py
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/oracle/base.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/schema.py
lib/sqlalchemy/sql/compiler.py
setup.cfg
test/dialect/test_mssql.py
test/dialect/test_sqlite.py
test/lib/requires.py
test/sql/test_compiler.py
test/sql/test_defaults.py
test/sql/test_query.py