Thanks to visit codestin.com
Credit goes to github.com

Skip to content

New executemany() implementation supporting UPDATE query #506

@methane

Description

@methane

SQLAlchemy supports update batching using Cursor.executemany().
Sadly, executemany in PyMySQL (and mysqlclient) only support INSERT and REPLACE
query.

I'll add new executemany implementation which uses multi results.
While it doesn't reduce number of queries, it can reduce number of roundtrips.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions