[TYPO3-dev] Should t3lib_db support MySQL's REPLACE INTO statement?
Ingo Renner
ingo at typo3.org
Thu Nov 13 07:23:12 CET 2008
Hi all,
would you be interested to see a
$GLOBALS['TYPO3_DB']->exec_REPLACEquery() method?
please refer to the MySQL docs [1] for details on replace...
As REPLACE is a MySQL addition to standard SQL DBAL would need to take
care of that by splitting the call up into separate INSERT and DELETE +
INSERT queries. But that's doable.
Ingo
[1] http://dev.mysql.com/doc/refman/5.0/en/replace.html
--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2
More information about the TYPO3-dev
mailing list