function DatabaseSchema::dropTable

Drop a table.

Parameters

$table: The table to be dropped.

Return value

TRUE if the table was successfully dropped, FALSE if there was no table by that name to begin with.

3 methods override DatabaseSchema::dropTable()
DatabaseSchema_mysql::dropTable in includes/database/mysql/schema.inc
Drop a table.
DatabaseSchema_pgsql::dropTable in includes/database/pgsql/schema.inc
Drop a table.
DatabaseSchema_sqlite::dropTable in includes/database/sqlite/schema.inc
Drop a table.

File

includes/database/schema.inc, line 477

Class

DatabaseSchema
Base class for database schema definitions.

Code

public abstract function dropTable($table);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.