3 ms·
That's what MySQL's REPLACE does, but not what "upsert" means: http://en.wiktionary.org/wiki/upsert http://en.wiktionary.org/wiki/upsert In presence of foreign
by lazyjones 13y ago
That's what MySQL's REPLACE does, but not what "upsert" means: http://en.wiktionary.org/wiki/upsert http://en.wiktionary.org/wiki/upsert
In presence of foreign key constraints for example, DELETE+INSERT might break/fail when UPDATE+INSERT will not. Also, the performance characteristics might be different.