You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to do inserts with postgres' UPSERT capabilities and it would be nice to be able to add some modifiers after the VALUES in the insert. I don't see a way to easily do this, any advice?
(korma/sql-only
(korma/insert:table
(korma/values [{:foo"bar"}])
(korma/modifier"ON CONFLICT DO NOTHING")))
=> "INSERT INTO \"table\" (\"foo\") VALUES (?)"
The text was updated successfully, but these errors were encountered:
I'm trying to do inserts with postgres' UPSERT capabilities and it would be nice to be able to add some modifiers after the VALUES in the insert. I don't see a way to easily do this, any advice?
The text was updated successfully, but these errors were encountered: