clear_table#

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

Remove all records from the table using TRUNCATE.

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

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

Return type:

None