class_docstr: Confluence Pages Table implementation
class_docstr_tok: ["Confluence","Pages","Table","implementation"]
docstr: Inserts a new page into the Confluence space
  
  Parameters
  ----------
  query : ast.Insert
      Given SQL INSERT query
  
  Raises
  ------
  ValueError
      If the query contains an unsupported condition
docstr_tok: ["Inserts","a","new","page","into","the","Confluence","space","Parameters","--","--","--","--","--","query",":","ast.Insert","Given","SQL","INSERT","query","Raises","--","--","--","ValueError","If","the","query","contains","an","unsupported","condition"]
code: def insert(self, query: ast.Insert):
      """Inserts a new page into the Confluence space
  
      Parameters
      ----------
      query : ast.Insert
          Given SQL INSERT query
  
      Raises
      ------
      ValueError
          If the query contains an unsupported condition
      """
  
      columns = [col.name for col in query.columns]
  
      for i, val in enumerate(query.values):
          params = dict(zip(columns, val))
  
          self.handler.connect().create_page(
              space=params["space"],
              title=params["title"],
              body=params["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 3 for calling the ConfluencePagesTable obj's underlying member method code with example usage: obj.insert(query) without return types