[TYPO3-dev] Should t3lib_db support MySQL's REPLACE INTO statement?
Xavier Perseguers
typo3 at perseguers.ch
Thu Nov 13 08:50:51 CET 2008
Hi Ingo,
> 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.
It could be very useful but support for other DBMS should be updated in
parallel of course.
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
More information about the TYPO3-dev
mailing list