Glossary: PostgreSQL for Developers
ON CONFLICT
Also written: ON CONFLICT DO NOTHING
The clause that turns an INSERT into an upsert. DO UPDATE changes the existing row, and DO NOTHING skips the new one.
Glossary: PostgreSQL for Developers
Also written: ON CONFLICT DO NOTHING
The clause that turns an INSERT into an upsert. DO UPDATE changes the existing row, and DO NOTHING skips the new one.