[TYPO3-core] RFC: enhance UPDATE/INSERT-API

Martin Kutschker Martin.Kutschker at blackbox.net
Mon Jan 2 09:44:57 CET 2006


This is a CVS patch request.

Branch: HEAD or TYPO3_4-0

Problem: Sometimes you want to insert or update data, but some of the values are not strings/numbers but SQL functions. In such a case you cannot use the t3lib_db functions directly.

Solution: Add a new parameter that contains a list of keys NOT to quote. The patch affects the following functions:

fullQuoteArray
UPDATEquery
INSERTquery
exec_UPDATEquery
exec_INSERTquery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 4989 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060102/7222048e/attachment.bin 


More information about the TYPO3-team-core mailing list