clokep/django-querysetsequence

Support Django 4.1 fields for `bulk_create()`

clokep opened this issue · 0 comments

See Django 4.1 release notes:

QuerySet.bulk_create() now supports updating fields when a row insertion fails uniqueness constraints. This is supported on MariaDB, MySQL, PostgreSQL, and SQLite 3.24+.

The update_conflicts, update_fields, and unique_fields parameters were added to support updating fields when a row insertion fails on conflict.