public function truncateTable($table)
    {
        $query = "TRUNCATE " . $this->getName($table->getName());
        $this->db->exec($query);
        return $this;
    }
public function truncateTable($table)
    {
        $query = "TRUNCATE " . $this->getName($table->getName());
        $this->db->exec($query);
        return $this;
    }
public function truncateTable ( $ table ) { $ query = "TRUNCATE " . $ this -> getName ( $ table -> getName ( ) ) ; $ this -> db -> exec ( $ query ) ; return $ this ; }
Remove all rows from the table

@param $table mixed The table from which to remove
@return Driver Provides fluent interface
Remove all rows from the table