class_docstr: This handler handles connection and execution of the LanceDB statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","LanceDB","statements","."]
docstr: Delete a collection from the LanceDB database.
docstr_tok: ["Delete","a","collection","from","the","LanceDB","database","."]
code: def drop_table(
      self, table_name: str, if_exists=True
  ) -> HandlerResponse:
      """
      Delete a collection from the LanceDB database.
      """
      try:
          self._client.drop_table(table_name)
      except ValueError:
          if if_exists:
              return Response(resp_type=RESPONSE_TYPE.OK)
          else:
              return Response(
                  resp_type=RESPONSE_TYPE.ERROR,
                  error_message=f"Table {table_name} does not exist!",
              )
      return Response(resp_type=RESPONSE_TYPE.OK)
  
imports: from collections import OrderedDict
  from typing import List, Optional
  import lancedb
  import pandas
  import pyarrow
  from lance.vector import vec_to_table
  import duckdb
  import json
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.libs.response import RESPONSE_TYPE
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.integrations.libs.vectordatabase_handler import FilterCondition, FilterOperator, TableField, VectorStoreHandler
  from mindsdb.utilities import log
label_desc: Use image node_id 14 for calling the LanceDBHandler obj's underlying member method code with example usage: obj.drop_table(table_name, if_exists) and returns: Response, Response, Response