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

configure insertOrUpdate to DO NOTHING on conflict #679

Open
sebarys opened this issue Dec 5, 2023 · 1 comment
Open

configure insertOrUpdate to DO NOTHING on conflict #679

sebarys opened this issue Dec 5, 2023 · 1 comment

Comments

@sebarys
Copy link

sebarys commented Dec 5, 2023

Hello,

Is it possible to configure insertOrUpdate statement to DO NOTHING instead of performing upsert when row with given PK already exist?

Use case: I want insert list (dozens) of rows and instead of performing (get row + insert if not exist) for each I would like instruct insert statement to DO NOTHING on conflict detection.

Thanks for help in advance! :)

@GEverding
Copy link

This is an important feature. How hard is it to implement?

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

No branches or pull requests

2 participants