[TYPO3-dev] How standard compliant is "truncate"?

Peter Kuehn [wmdb] peter.kuehn at wmdb.de
Thu Feb 5 13:52:59 CET 2009


 > A API in the db class would be on it's place.
 > ...->getTruncateSQLCommand(Array $tables);
[...]
> You only need to pass an Array of tables in the case you want to truncate
> more then one table. The reason is because of possible foreign references
> that will not be checked and if found the truncate will not be executed.

sounds excellent!

can someone tell me, who from the core-team members is in charge for 
t3lib_db?


> Now I know that this doesn't really count for TYPO3 but the API should 
> be correct.
nanana ;)




More information about the TYPO3-dev mailing list