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

Multiple onConflictUpdate's break bulk inserting #2669

Open
Yomanz opened this issue Dec 7, 2022 · 0 comments
Open

Multiple onConflictUpdate's break bulk inserting #2669

Yomanz opened this issue Dec 7, 2022 · 0 comments

Comments

@Yomanz
Copy link
Contributor

Yomanz commented Dec 7, 2022

Version: 4.4.1
Module: quill-jasync-postgres
Database: PostgreSQL

Expected behavior

It will allow you to bulk insert with more than 1 onConflictUpdate

Actual behavior

It breaks if you supply more than 1 onConflictUpdate

Steps to reproduce the behavior

Doesn't seem to be reproducable with a mirror context but here is the code:
https://scastie.scala-lang.org/Vqb8nwbvQwWZuoFKv6pHnA

It works if you only pass 1 onConflictUpdate, but when you pass multiple it breaks

Workaround

Disable bulk insert but that's not really a workaround.

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

1 participant