Skip to main content

Drop

Drop Method

Table Of Drop Method​

Parameters​

  • table (the table name to drop/delete)
drop(table)

Example Usage​

await db.drop("table_name");
// -> deletes the table 'table_name'

Returned Data​

Returns true if the table has been deleted successfully

true