1.20.x database.inc db_drop_table($table)

Drops a table.

Parameters

$table: The table to be dropped.

Related topics

File

includes/database/database.inc, line 3077
Core systems for the database layer.

Code

function db_drop_table($table) {
  return Database::getConnection()->schema()->dropTable($table);
}