Replies: 1 comment
-
|
@vlauciani you can try it in next 13.x release: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Postgres and I need to submit a query like:
I tried to use
insertOrIgnore()method but It build the query with onlyON CONFLICT DO NOTHING; I tried to useinsertGetId()method but It build the query with onlyRETURNING id.Is there a way to "chain" the two methods?
I also tried to build a raw insert:
but It doesn't return the
idwhen the record is missing; It returns onlytrueorfalse.Could It be possibile to implement a new method like:
into:
Thank you
Beta Was this translation helpful? Give feedback.
All reactions