tables = hc.view_tables_in_trash("database_name")
复制
Check Table
Result:
This method returns a Dictionary where the key is the table field name and the associated value is the field-value list.
Parameter description:
Parameters | Description | Required |
---|---|---|
database_name (str) |
Database name |
No, defaults to "default" database |
Delete Table
deleted = hc.delete_table_in_trash("table_name")
复制
Result:
This method returns a Boolean value to represent whether this operation is successful..
Parameter description:
Parameters | Description | Required |
---|---|---|
table_name (str) |
Table to be deleted |
Yes |
database_name |
Database where the table is located |
No, defaults to "default" database |
文档反馈