TableUtils - drop(String tableName)

Drops a database table.

Note: Use with extreme caution. Dropping a table permanently deletes the table and all its data. If the table is extended, use dropTableAndExtensions.
Table 1. Parameters
Name Type Description
tableName String Name of the table to drop
Table 2. Returns
Type Description
void

var tu = new TableUtils();
tu.drop("table_that_will_be_lost_forever");
Output:
dropping table table_that_will_be_lost_forever
Starting cache flush
Cache flush complete
TABLE DROP: admin dropped table table_that_will_be_lost_forever