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

Support for Multiple ON CONFLICT columns in SQLite #2

Open
ghost opened this issue Aug 20, 2021 · 1 comment
Open

Support for Multiple ON CONFLICT columns in SQLite #2

ghost opened this issue Aug 20, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Aug 20, 2021

Adding support for multiple ON CONFLICT columns would be greatly appreciated.

@dzikoysk dzikoysk added the enhancement New feature or request label Aug 20, 2021
@dzikoysk
Copy link
Member

dzikoysk commented Aug 20, 2021

Indexes with PostgreSQL should work fine, for SQLite I was not able to support this functionality. I don't know it it does not support this or I did something wrong 🤔

You can create index with multiple columns using withUnique:

@dzikoysk dzikoysk changed the title Support for Multiple ON CONFLICT columns Support for Multiple ON CONFLICT columns in SQLite Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant