db_drop_table

Versions
6
db_drop_table(&$ret, $table)
7
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

Code

includes/database.pgsql.inc, line 653

<?php
function db_drop_table(&$ret, $table) {
  $ret[] = update_sql('DROP TABLE {'. $table .'}');
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.