Drop a table from the database.
drop_table(
client: Connection,
table_name: str,
) -> None| Name | Type | Description |
|---|---|---|
client* | Connection | |
table_name* | str |
from langchain_db2.db2vs import drop_table
drop_table(
client=db_client, # ibm_db_dbi.Connection
table_name="TABLE_NAME",
)The ibm_db_dbi connection object
The name of the table to drop