sqlalchemy-stubs icon indicating copy to clipboard operation
sqlalchemy-stubs copied to clipboard

Add missing parameter on bulk_save_objects

Open vineus opened this issue 4 years ago • 1 comments

From SQLAlchemy 1.3

from documentation: https://docs.sqlalchemy.org/en/14/orm/session_api.html#sqlalchemy.orm.Session.bulk_save_objects

method sqlalchemy.orm.Session.bulk_save_objects(objects, return_defaults=False, update_changed_only=True, preserve_order=True)

preserve_order

when True, the order of inserts and updates matches exactly the order in which the objects are given. When False, common types of objects are grouped into inserts and updates, to allow for more batching opportunities.

vineus avatar Jan 29 '22 13:01 vineus

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 16 '22 21:04 CLAassistant