Skip to content

feat(postgres, sqlite): allow override of conflict keys for bulkCreate (v6) - #15787

Merged
WikiRik merged 1 commit into
v6from
wb-backport-bulkInsert-conflict-attributes
Mar 23, 2023
Merged

WikiRik merged 1 commit into
v6from
wb-backport-bulkInsert-conflict-attributes

Conversation

@wbourne0

Copy link
Copy Markdown
Member

Adds the conflictAttributes option to Model.bulkCreate. Backport of #13419

@wbourne0 wbourne0 added dialect: sqlite For issues and PRs. Things that involve SQLite (and do not involve all dialects). dialect: postgres For issues and PRs. Things that involve PostgreSQL (and do not involve all dialects). labels Mar 14, 2023
@wbourne0 wbourne0 self-assigned this Mar 14, 2023
@wbourne0

Copy link
Copy Markdown
Member Author

test failures appear to be flake

@wbourne0
wbourne0 requested review from WikiRik and ephys March 16, 2023 15:42

@WikiRik WikiRik left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wbourne0
wbourne0 force-pushed the wb-backport-bulkInsert-conflict-attributes branch from c53eec9 to 9464217 Compare March 22, 2023 20:46
@wbourne0

Copy link
Copy Markdown
Member Author

Adds the conflictAttributes option to Model.bulkCreate.  Backport of #13419
@wbourne0
wbourne0 force-pushed the wb-backport-bulkInsert-conflict-attributes branch from 9464217 to 02fbc26 Compare March 22, 2023 20:52
@wbourne0
wbourne0 requested a review from WikiRik March 22, 2023 22:01
@WikiRik
WikiRik merged commit 2e50bd9 into v6 Mar 23, 2023
@WikiRik
WikiRik deleted the wb-backport-bulkInsert-conflict-attributes branch March 23, 2023 07:59
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 6.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dialect: postgres For issues and PRs. Things that involve PostgreSQL (and do not involve all dialects). dialect: sqlite For issues and PRs. Things that involve SQLite (and do not involve all dialects). released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants