zio-quill
zio-quill copied to clipboard
Multiple onConflictUpdate's break bulk inserting
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.