/** * Truncate wp_term_relationships table * @return void */ public static function Truncate() { // Get the Database Object for this Class $objDatabase = WpTermRelationships::GetDatabase(); // Perform the Query $objDatabase->NonQuery(' TRUNCATE `wp_term_relationships`'); if (QApplication::$objCacheProvider && QApplication::$Database[2]->Caching) { QApplication::$objCacheProvider->DeleteAll(); } }