rel_2_0_36
版本发布时间: 2024-10-16 03:41:54
sqlalchemy/sqlalchemy最新发布版本:rel_2_0_36(2024-10-16 03:41:54)
2.0.36
Released: October 15, 2024
orm
-
[orm] [usecase] Added new parameter
_orm.mapped_column.hash
to ORM constructs such as_orm.mapped_column()
,_orm.relationship()
, etc., which is interpreted for ORM Native Dataclasses in the same way as other dataclass-specific field parameters.References: #11923
-
[orm] [bug] Fixed bug in ORM bulk update/delete where using RETURNING with bulk update/delete in combination with
populate_existing
would fail to accommodate thepopulate_existing
option.References: #11912
-
[orm] [bug] Continuing from #11912, columns marked with
mapped_column.onupdate
,mapped_column.server_onupdate
, orComputed
are now refreshed in ORM instances when running an ORM enabled UPDATE with WHERE criteria, even if the statement does not use RETURNING orpopulate_existing
.References: #11917
-
[orm] [bug] Fixed regression caused by fixes to joined eager loading in #11449 released in 2.0.31, where a particular joinedload case could not be asserted correctly. We now have an example of that case so the assertion has been repaired to allow for it.
References: #11965
-
[orm] [bug] Improved the error message emitted when trying to map as dataclass a class while also manually providing the
__table__
attribute. This usage is currently not supported.References: #11973
-
[orm] [bug] Refined the check which the ORM lazy loader uses to detect "this would be loading by primary key and the primary key is NULL, skip loading" to take into account the current setting for the
orm.Mapper.allow_partial_pks
parameter. If this parameter isFalse
, then a composite PK value that has partial NULL elements should also be skipped. This can apply to some composite overlapping foreign key configurations.References: #11995
-
[orm] [bug] Fixed bug in ORM "update with WHERE clause" feature where an explicit
.returning()
would interfere with the "fetch" synchronize strategy due to an assumption that the ORM mapped class featured the primary key columns in a specific position within the RETURNING. This has been fixed to use appropriate ORM column targeting.References: #11997
sql
-
[sql] [usecase] Datatypes that are binary based such as
VARBINARY
will resolve toLargeBinary
when theTypeEngine.as_generic()
method is called.References: #11978
-
[sql] [bug] [regression] Fixed regression from 1.4 where some datatypes such as those derived from
TypeDecorator
could not be pickled when they were part of a larger SQL expression composition due to internal supporting structures themselves not being pickleable.References: #12002
schema
-
[schema] [bug] Fixed bug where SQL functions passed to
_schema.Column.server_default
would not be rendered with the particular form of parenthesization now required by newer versions of MySQL and MariaDB. Pull request courtesy of huuya.References: #11317
postgresql
-
[postgresql] [bug] [reflection] Fixed bug in reflection of table comments where unrelated text would be returned if an entry in the
pg_description
table happened to share the same oid (objoid) as the table being reflected.References: #11961
-
[postgresql] [bug] The
postgresql.JSON
andpostgresql.JSONB
datatypes will now render a "bind cast" in all cases for all PostgreSQL backends, including psycopg2, whereas previously it was only enabled for some backends. This allows greater accuracy in allowing the database server to recognize when a string value is to be interpreted as JSON.References: #11994
mysql
-
[mysql] [performance] Improved a query used for the MySQL 8 backend when reflecting foreign keys to be better optimized. Previously, for a database that had millions of columns across all tables, the query could be prohibitively slow; the query has been reworked to take better advantage of existing indexes.
References: #11975
1、 SQLAlchemy-2.0.36-cp310-cp310-macosx_10_9_x86_64.whl 2MB
2、 SQLAlchemy-2.0.36-cp310-cp310-macosx_11_0_arm64.whl 1.99MB
3、 SQLAlchemy-2.0.36-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.92MB
4、 SQLAlchemy-2.0.36-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.93MB
5、 SQLAlchemy-2.0.36-cp310-cp310-musllinux_1_2_aarch64.whl 2.89MB
6、 SQLAlchemy-2.0.36-cp310-cp310-musllinux_1_2_x86_64.whl 2.91MB
7、 SQLAlchemy-2.0.36-cp310-cp310-win32.whl 1.97MB
8、 SQLAlchemy-2.0.36-cp310-cp310-win_amd64.whl 1.99MB
9、 SQLAlchemy-2.0.36-cp311-cp311-macosx_10_9_x86_64.whl 2MB
10、 SQLAlchemy-2.0.36-cp311-cp311-macosx_11_0_arm64.whl 1.99MB
11、 SQLAlchemy-2.0.36-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 3.05MB
12、 SQLAlchemy-2.0.36-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 3.05MB
13、 SQLAlchemy-2.0.36-cp311-cp311-musllinux_1_2_aarch64.whl 2.99MB
14、 SQLAlchemy-2.0.36-cp311-cp311-musllinux_1_2_x86_64.whl 3.01MB
15、 SQLAlchemy-2.0.36-cp311-cp311-win32.whl 1.97MB
16、 SQLAlchemy-2.0.36-cp311-cp311-win_amd64.whl 1.99MB
17、 SQLAlchemy-2.0.36-cp312-cp312-macosx_10_13_x86_64.whl 2MB
18、 SQLAlchemy-2.0.36-cp312-cp312-macosx_11_0_arm64.whl 1.99MB
19、 SQLAlchemy-2.0.36-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 3.08MB
20、 SQLAlchemy-2.0.36-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 3.09MB
21、 SQLAlchemy-2.0.36-cp312-cp312-musllinux_1_2_aarch64.whl 3.03MB
22、 SQLAlchemy-2.0.36-cp312-cp312-musllinux_1_2_x86_64.whl 3.06MB
23、 SQLAlchemy-2.0.36-cp312-cp312-win32.whl 1.97MB
24、 SQLAlchemy-2.0.36-cp312-cp312-win_amd64.whl 1.99MB
25、 SQLAlchemy-2.0.36-cp313-cp313-macosx_10_13_x86_64.whl 1.99MB
26、 SQLAlchemy-2.0.36-cp313-cp313-macosx_11_0_arm64.whl 1.98MB
27、 SQLAlchemy-2.0.36-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 3.02MB
28、 SQLAlchemy-2.0.36-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 3.03MB
29、 SQLAlchemy-2.0.36-cp313-cp313-musllinux_1_2_aarch64.whl 2.97MB
30、 SQLAlchemy-2.0.36-cp313-cp313-musllinux_1_2_x86_64.whl 2.99MB
31、 SQLAlchemy-2.0.36-cp313-cp313-win32.whl 1.96MB
32、 SQLAlchemy-2.0.36-cp313-cp313-win_amd64.whl 1.99MB
33、 SQLAlchemy-2.0.36-cp37-cp37m-macosx_10_9_x86_64.whl 2MB
34、 SQLAlchemy-2.0.36-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.84MB
35、 SQLAlchemy-2.0.36-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.85MB
36、 SQLAlchemy-2.0.36-cp37-cp37m-musllinux_1_2_aarch64.whl 2.8MB
37、 SQLAlchemy-2.0.36-cp37-cp37m-musllinux_1_2_x86_64.whl 2.83MB
38、 SQLAlchemy-2.0.36-cp37-cp37m-win32.whl 1.97MB
39、 SQLAlchemy-2.0.36-cp37-cp37m-win_amd64.whl 1.99MB
40、 SQLAlchemy-2.0.36-cp38-cp38-macosx_10_9_x86_64.whl 2MB
41、 SQLAlchemy-2.0.36-cp38-cp38-macosx_11_0_arm64.whl 1.99MB
42、 SQLAlchemy-2.0.36-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.95MB
43、 SQLAlchemy-2.0.36-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.95MB
44、 SQLAlchemy-2.0.36-cp38-cp38-musllinux_1_2_aarch64.whl 2.9MB
45、 SQLAlchemy-2.0.36-cp38-cp38-musllinux_1_2_x86_64.whl 2.93MB
46、 SQLAlchemy-2.0.36-cp38-cp38-win32.whl 1.97MB
47、 SQLAlchemy-2.0.36-cp38-cp38-win_amd64.whl 2MB
48、 SQLAlchemy-2.0.36-cp39-cp39-macosx_10_9_x86_64.whl 2MB
49、 SQLAlchemy-2.0.36-cp39-cp39-macosx_11_0_arm64.whl 1.99MB
50、 SQLAlchemy-2.0.36-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.94MB
51、 SQLAlchemy-2.0.36-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.95MB
52、 SQLAlchemy-2.0.36-cp39-cp39-musllinux_1_2_aarch64.whl 2.91MB
53、 SQLAlchemy-2.0.36-cp39-cp39-musllinux_1_2_x86_64.whl 2.93MB
54、 SQLAlchemy-2.0.36-cp39-cp39-win32.whl 1.97MB
55、 SQLAlchemy-2.0.36-cp39-cp39-win_amd64.whl 1.99MB
56、 SQLAlchemy-2.0.36-py3-none-any.whl 1.8MB