drop_table#

langchain_db2.db2vs.drop_table(client: Connection, table_name: str) None[source]#

Drop a table from the database.

Parameters:
  • client (Connection) – The ibm_db_dbi connection object.

  • table_name (str) – The name of the table to drop.

Raises:

RuntimeError – If an error occurs while dropping the table.

Return type:

None