3 ms·
Is there a reason for yet another syntax for upserts? There's an ANSI SQL syntax: http://en.wikipedia.org/wiki/Merge_%28SQL%29 http://en.wikipedia.org/wiki/Mer
by ccleve 11y ago
Is there a reason for yet another syntax for upserts?
There's an ANSI SQL syntax: http://en.wikipedia.org/wiki/Merge_%28SQL%29 http://en.wikipedia.org/wiki/Merge_%28SQL%29
And MySQL has its own syntax: http://dev.mysql.com/doc/refman/5.6/en/insert-on-duplicate.html http://dev.mysql.com/doc/refman/5.6/en/insert-on-duplicate.h...
This is a pain for those of us who are trying to maintain cross-database libraries. (https://github.com/dieselpoint/norm https://github.com/dieselpoint/norm)