Is there any way of performing in bulk a query like INSERT OR UPDATE on the MySQL server?
INSERT OR UPDATE
INSERT IGNORE ...
won\'t work, becau
You can insert/update multiple rows using INSERT ... ON DUPLICATE KEY UPDATE. The documentation has the following example:
INSERT INTO table (a,b,c) VALUES (1,2,3),(4,5,6) ON DUPLICATE KEY UPDATE c=VALUES(a)+VALUES(b);
Or am I misunderstanding your question?