summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql
diff options
context:
space:
mode:
authorAlessandro Cucci <alessandro.cucci@gmail.com>2018-08-25 09:14:22 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2018-08-27 16:10:55 -0400
commitcbd661e0cdfdba98663ae542c6af2863fc30ae09 (patch)
tree4e899485ca82168baf8ac20a604c358e2aab0db4 /lib/sqlalchemy/dialects/postgresql
parentc6427fe14090d2d06a4d7c4c398be1f6e6a771f1 (diff)
downloadsqlalchemy-cbd661e0cdfdba98663ae542c6af2863fc30ae09.tar.gz
Add option to sort into inserts/updates to bulk_save_objects
Added new flag :paramref:`.Session.bulk_save_objects.preserve_order` to the :meth:`.Session.bulk_save_objects` method, which defaults to True. When set to False, the given mappings will be grouped into inserts and updates per each object type, to allow for greater opportunities to batch common operations together. Pull request courtesy Alessandro Cucci. Change-Id: I0d041f7696cf733655a74beeceee3fa80640efd7 Pull-request: https://bitbucket.org/zzzeek/sqlalchemy/pull-requests/6
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql')
0 files changed, 0 insertions, 0 deletions