I would like to use ON DUPLICATE KEY UPDATE in Zend Framework 1.5, is this possible?
ON DUPLICATE KEY UPDATE
Example
INSERT INTO sometable (...) VALUES (...) ON DUP
Use this instead:
REPLACE INTO sometable SET field ='value'.....
This will update if exists or just insert if not. This is a part of the standard mysql api.