[Typo3-dev] t3lib_db->UPDATEquery

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Nov 23 11:31:22 CET 2005


Martin Kutschker schrieb:
> Hi!
> 
> I sometimes run into the problem that I want to use this function but 
> cannot.
> 
> Why? Because it quotes the field values. So I cannot use it with 
> SQL-functions.
> 
> Does it make sense to add a no-quote parameter? Or is it easier to use 
> t3lib_db->sql_query in such cases anyway?

Idea:

Instead of a simple no-quote flag, the function could take a 
comma-delimited list of field names and/or an array of field names that 
are to be excluded from quoteing.

If set to TRUE, it could still mean "don't quote any fields".

Masi




More information about the TYPO3-dev mailing list