class_docstr: This handler handles connection and execution of the FaunaDB statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","FaunaDB","statements","."]
docstr: Delete a document with the given id in the FaunaDB database.
docstr_tok: ["Delete","a","document","with","the","given","id","in","the","FaunaDB","database","."]
code: def delete_document(
      self, table_name: str, conditions: List[str]
  ) -> Response:
      """
      Delete a document with the given id in the FaunaDB database.
      """
      # get the id of the document (only = operator supported right now, can add more)
      ref = conditions.args[1].value
      fauna_query = q.delete(q.ref(q.collection(table_name), ref))
      self._client.query(fauna_query)
  
imports: import json
  import pandas
  from collections import OrderedDict
  from typing import List
  from faunadb import query
  from faunadb.client import FaunaClient
  from mindsdb_sql import Select, Insert, CreateTable, Delete
  from mindsdb_sql.parser.ast.select.star import Star
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.libs.response import RESPONSE_TYPE, HandlerResponse, HandlerStatusResponse
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.utilities import log
label_desc: Use image node_id 11 for calling the FaunaDBHandler obj's underlying member method code with example usage: obj.delete_document(table_name, conditions) without return types