内容简介:SQLAlchemy 1.2.15 发布了,SQLAlchemy 是一个 Python 的 SQL 工具包以及数据库对象关系映射框架。它包含整套企业级持久化模式,专门用于高效和高性能的数据库访问。此版本包含了各种 ORM 级的修复,其中包括 1.2.13 中的一个回退,涉及到与多对多关系的动态关系。
SQLAlchemy 1.2.15 发布了,SQLAlchemy 是一个 Python 的 SQL 工具包以及数据库对象关系映射框架。它包含整套企业级持久化模式,专门用于高效和高性能的数据库访问。
此版本包含了各种 ORM 级的修复,其中包括 1.2.13 中的一个回退,涉及到与多对多关系的动态关系。
orm
-
[orm] [bug] Fixed bug where the ORM annotations could be incorrect for the primaryjoin/secondaryjoin a relationship if one used the pattern
ForeignKey(SomeClass.id)in the declarative mappings. This pattern would leak undesired annotations into the join conditions which can break aliasing operations done withinQuerythat are not supposed to impact elements in that join condition. These annotations are now removed up front if present.References: #4367
-
[orm] [bug] In continuing with a similar theme as that of very recent #4349 , repaired issue with
RelationshipProperty.Comparator.any()andRelationshipProperty.Comparator.has()where the “secondary” selectable needs to be explicitly part of the FROM clause in the EXISTS subquery to suit the case where this “secondary” is aJoinobject.References: #4366
-
[orm] [bug] Fixed regression caused by #4349 where adding the “secondary” table to the FROM clause for a dynamic loader would affect the ability of the
Queryto make a subsequent join to another entity. The fix adds the primary entity as the first element of the FROM list sinceQuery.join()wants to jump from that. Version 1.3 will have a more comprehensive solution to this problem as well ( #4365 ).References: #4363
-
[orm] [bug] Fixed bug where chaining of mapper options using
RelationshipProperty.of_type()in conjunction with a chained option that refers to an attribute name by string only would fail to locate the attribute.
orm declarative
-
[bug] [declarative] [orm] A warning is emitted in the case that a
column()object is applied to a declarative class, as it seems likely this intended to be aColumnobject.References: #4374
misc
-
Added support for the
write_timeoutflag accepted by mysqlclient and pymysql to be passed in the URL string.References: #4381
-
Fixed issue where reflection of a PostgreSQL domain that is expressed as an array would fail to be recognized. Pull request courtesy Jakub Synowiec. ¶
下载地址:https://www.sqlalchemy.org/download.html
以上所述就是小编给大家介绍的《SQLAlchemy 1.2.15 发布,Python ORM 框架》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:- One 框架 2.0.13 发布
- Total.js 框架 v2.6.0 发布,Node.js 的 MVC 框架
- Total.js 框架 v2.6.0 发布,Node.js 的 MVC 框架
- 快嘉框架 v1.6 更新发布,J2EE 开发框架实例
- 快嘉框架 v2.0 更新发布,J2EE 开发框架实例
- 快嘉框架 v2.0 更新发布,J2EE 开发框架实例
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
浪潮之巅(第2版)(套装上下册)
吴军 / 人民邮电出版社 / 2013-7 / 80.00元
一个企业的发展与崛起,绝非只是空有领导强人即可达成。任何的决策、同期的商业环境,都在都影响着企业的兴衰。《浪潮之巅》不只是一本历史书,除了讲述科技顶尖企业的发展规律,对于华尔街如何左右科技公司,以及金融风暴对科技产业的冲击,也多有着墨。此外,这本书也着力讲述很多尚在普及或将要发生的,比如微博和云计算,以及对下一代互联网科技产业浪潮的判断和预测。因为在极度商业化的今天,科技的进步和商机是分不开的。 ......一起来看看 《浪潮之巅(第2版)(套装上下册)》 这本书的介绍吧!