0.31.0
What's Changed
-
SQLAlchemy Core: Support
INSERT...VALUES
with multiple value sets by enabling
supports_multivalues_insert
on the CrateDB dialect, it is used by pandas'
method="multi"
option -
SQLAlchemy Core: Enable the
insertmanyvalues
feature, which lets you control
the batch size ofINSERT
operations using theinsertmanyvalues_page_size
engine-, connection-, and statement-options. -
SQLAlchemy ORM: Remove support for the legacy
session.bulk_save_objects
API
on SQLAlchemy 2.0, in favor of the newinsertmanyvalues
feature. Performance
optimizations frombulk_save()
have been made inherently part ofadd_all()
.
Note: The legacy mode will still work on SQLAlchemy 1.x, while SQLAlchemy 2.x users
MUST switch to the new method now.
Full Changelog: 0.30.1...0.31.0