brianc / node-sql

SQL generation for node.js
MIT License
1.05k stars 191 forks source link

Add support for ON CONFLICT as a support for upserts in PostgreSQL #335

Closed rohitishere1 closed 7 years ago

rohitishere1 commented 7 years ago

PostgreSQL supports upserts by ON CONFLICT clause provided in versions 9.5 and above. This should fix issue #333

jibinjosepez commented 7 years ago

This is very nice feature. As we are planning to use latest version of postgres this will be really useful @Team when can I expect it in trunk?

brianc commented 7 years ago

Awesome work! Sorry for taking a while to get to this. Pushing a new minor version out to npm today!