/** * Tests the JDatabaseDriver::truncateTable method. * * @return void * * @since 12.1 */ public function testTruncateTable() { $this->assertNull( $this->db->truncateTable('#__dbtest'), 'truncateTable should not return anything if successful.' ); }
/** * truncate * * @param $name * * @return static */ public function truncate($name) { $this->db->truncateTable($name); return $this; }