[TYPO3-core] RFC #15457: Add support for prepared queries

Martin Kutschker masi-no at spam-typo3.org
Tue Aug 17 09:10:32 CEST 2010


Am 17.08.2010 01:21, schrieb Helmut Hummel:
> 
> Now that we will have prepare_SELECTquery(), are there plans for
> prepare_INSERTquery() etc. ? :)

What for? IMHO the real point in prepared queries is not the (named) paramters, but the fact that
the DB only once creates a query plan, so that *repeated* queries with varying arguments are
extecuted faster. So you gain nothing with INSERT. Possibly there is an advantage for UPDATE/DELETE
statements with JOINs.

Masi


More information about the TYPO3-team-core mailing list