joomla/joomla-platform — pull request #538 by mbabker (2011-11-18 18:48:02+00:00)
Title: Add TRUNCATE method to JDatabaseQuery

JDatabaseQuery currently has no TRUNCATE method. In at least MySQL and PostgreSQL, the TRUNCATE TABLE `#__content` query exists, and this is used a bit in Finder.