public function truncate($table, $highlight = false) {

        // run the query
        $this->query('

            TRUNCATE
                ' . $this->_escape($table) . '

        ', '', false, false, $highlight);

        // return TRUE if query was successful, or FALSE if it wasn't
        return isset($this->last_result) && $this->last_result !== false;

    }