go-jet / jet

Type safe SQL builder with code generation and automatic query result data mapping
Apache License 2.0
2.23k stars 110 forks source link

ON CONFLICT DO NOTHING without a conflict target is valid SQL #335

Closed BillBuilt closed 3 months ago

BillBuilt commented 3 months ago

ON CONFLICT DO NOTHING without a conflict target is valid SQL according to Postgres.

https://www.postgresql.org/docs/15/sql-insert.html#SQL-ON-CONFLICT

go-jet commented 3 months ago

Hi @BillBuilt, good catch.