| Versionen | |
|---|---|
| drupal7 | public DatabaseSchema_pgsql::dropIndex(&$ret, $table, $name) |
Drop an index.
$ret Array to which query results will be added.
$table The table to be altered.
$name The name of the index.
includes/
<?php
public function dropIndex(&$ret, $table, $name) {
$name = '{' . $table . '}_' . $name . '_idx';
$ret[] = update_sql('DROP INDEX ' . $name);
}
?>
Kommentare
Kommentar hinzufügen