Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL: ON DUPLICATE KEY DO NOTHING #765

Merged
merged 2 commits into from
Apr 14, 2024
Merged

Conversation

billy1624
Copy link
Member

@billy1624 billy1624 commented Apr 10, 2024

PR Info

New Features

  • Added OnConflict::do_nothing_on()
  • Added QueryBuilder::prepare_on_conflict_action_common()

Breaking Changes

  • Changed OnConflictAction::DoNothing enum variant to OnConflictAction::DoNothing(Vec<DynIden>)

@billy1624 billy1624 requested a review from tyt2y3 April 10, 2024 06:02
@billy1624 billy1624 self-assigned this Apr 10, 2024
@billy1624 billy1624 mentioned this pull request Apr 10, 2024
1 task
@billy1624 billy1624 force-pushed the mysql-on-conflict-do-nothing branch from 5f0228d to a0b2160 Compare April 10, 2024 06:42
Copy link
Member

@tyt2y3 tyt2y3 left a comment

Choose a reason for hiding this comment

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

Thank you

@tyt2y3 tyt2y3 merged commit ae1eadb into master Apr 14, 2024
20 checks passed
@tyt2y3 tyt2y3 deleted the mysql-on-conflict-do-nothing branch April 14, 2024 19:03
Copy link

🎉 Released In 0.31.0-rc.5 🎉

Thank you everyone for the contribution!
This feature is now available in the latest release. Now is a good time to upgrade!
Your participation is what makes us unique; your adoption is what drives us forward.
You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On conflict do nothing for MySQL
2 participants