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: Get the list of collections in the LanceDB database.
docstr_tok: ["Get","the","list","of","collections","in","the","LanceDB","database","."]
code: def get_tables(self) -> HandlerResponse:
      """
      Get the list of collections in the LanceDB database.
      """
      collections = self._client.table_names()
      collections_name = pd.DataFrame(
          columns=["table_name"],
          data=collections,
      )
      return Response(
          resp_type=RESPONSE_TYPE.TABLE, data_frame=collections_name
      )
  
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 15 for calling the LanceDBHandler obj's underlying member method code with example usage: obj.get_tables() and returns: Response