| 6 database.mysql-common.inc | db_drop_table(&$ret, $table) |
| 6 database.pgsql.inc | db_drop_table(& |
| 7 database.inc | db_drop_table($table) |
| 8 database.inc | db_drop_table($table) |
Drop a table.
Parameters
$ret: Array to which query results will be added.
$table: The table to be dropped.
Related topics
1 call to db_drop_table()
File
- includes/
database.pgsql.inc, line 640 - Database interface code for PostgreSQL database servers.
Code
function db_drop_table(&$ret, $table) {
$ret[] = update_sql('DROP TABLE {' . $table . '}');
}
Login or register to post comments
Comments
Dumb Question - What's the MySQL equivalent?
I noticed that this is provided by database.pgsql.inc and is therefore intended for use with PgSQL databases. What if I have a MySQL database and need to drop a table? I didn't see a MySQL equivalent.
Thanks.