MyGit

v2.2.0rc1

PyMySQL/mysqlclient

版本发布时间: 2023-05-19 12:36:09

PyMySQL/mysqlclient最新发布版本:v2.2.4(2024-03-10 18:17:55)

Important changes

v2.2.0 uses pkg-config instead of mysql_config. You need to install pkg-config to build. You can configure cflags and ldflags manually by setting MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS too.

Cursor.mogrify() is added.

Cursor.executemany implementation now uses mogrify(). Sequencee of scalar value (e.g. executemany("INSERT INTO t (data) VALUES (%s)", [1, 2, 3]) is no more valid args. You need to use sequence of tuple (e.g. [(1,), (2,), (3,)]) instead.

What's Changed

New Contributors

Full Changelog: https://github.com/PyMySQL/mysqlclient/compare/v2.1.1...v2.2.0rc1

相关地址:原始地址 下载(tar) 下载(zip)

查看:2023-05-19发行的版本