Support Django 4.1 fields for `bulk_create()`
clokep opened this issue · 0 comments
clokep commented
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
, andunique_fields
parameters were added to support updating fields when a row insertion fails on conflict.