class_docstr: Confluence Pages Table implementation
class_docstr_tok: ["Confluence","Pages","Table","implementation"]
docstr: Updates a page in the Confluence space
  
  Parameters
  ----------
  query : ast.Update
      Given SQL UPDATE query
  
  Raises
  ------
  ValueError
      If the query contains an unsupported condition
docstr_tok: ["Updates","a","page","in","the","Confluence","space","Parameters","--","--","--","--","--","query",":","ast.Update","Given","SQL","UPDATE","query","Raises","--","--","--","ValueError","If","the","query","contains","an","unsupported","condition"]
code: def update(self, query: ast.Update):
      """Updates a page in the Confluence space
  
      Parameters
      ----------
      query : ast.Update
          Given SQL UPDATE query
  
      Raises
      ------
      ValueError
          If the query contains an unsupported condition
      """
      params = extract_comparison_conditions(query.where)
      title = query.update_columns["title"].get_string()
      body = query.update_columns["body"].get_string()
  
      for param in params:
          if param[1] == "id":
              id = param[2]
              self.handler.connect().update_page(
                  page_id=id,
                  title=title,
                  body=body,
              )
  
file_path: mindsdb/mindsdb/integrations/handlers/confluence_handler/confluence_table.py
imports: from typing import List
  import pandas
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
  from mindsdb.utilities import log
  from mindsdb_sql.parser import ast
label_desc: Use image node_id 4 for calling the ConfluencePagesTable obj's underlying member method code with example usage: obj.update(query) without return types