Skip to content

Support SetSQLWithArgs on conflict

Compare
Choose a tag to compare
@perrito666 perrito666 released this 28 Jun 11:34
· 14 commits to master since this release
9fcf4fe
db/chain: OnUpdate.SetSQLWithArgs to pass args on conflict (#53)

OnUpdate.SetSQLWithArgs to pass args on conflict

This enables building SQL that has things like

    ... ON CONFLICT ... DO UPDATE SET (foo) = (foo || $n)

which is nice.