SQLAlchemy 1.2.10 已发布,这是一个小版本,引入了一些针对 Core 和 ORM 的修复:
orm
Bundle construct where placing two columns of the same name would be de-duplicated, when the Bundle were used as part of the rendered SQL, such as in the ORDER BY or GROUP BY of the statement.Load option in conjunction with a string wildcard would result in a TypeError.sql
Sequence would be dropped explicitly before any Table that refers to it, which breaks in the case when the sequence is also involved in a server-side default for that table, when using MetaData.drop_all(). The step which processes sequences to be dropped via non server-side column default functions is now invoked after the table itself is dropped.下载地址: