abstract public function DatabaseSchema::dropIndex
7.x schema.inc | abstract public DatabaseSchema::dropIndex($table, $name) |
Drop an index.
Parameters
$table: The table to be altered.
$name: The name of the index.
Return value
TRUE if the index was successfully dropped, FALSE if there was no index by that name to begin with.
3 methods override DatabaseSchema::dropIndex()
- DatabaseSchema_mysql::dropIndex in drupal-7.x/
includes/ database/ mysql/ schema.inc - Drop an index.
- DatabaseSchema_pgsql::dropIndex in drupal-7.x/
includes/ database/ pgsql/ schema.inc - Drop an index.
- DatabaseSchema_sqlite::dropIndex in drupal-7.x/
includes/ database/ sqlite/ schema.inc - Drop an index.
File
- drupal-7.x/
includes/ database/ schema.inc, line 575 - Generic Database schema code.
Class
Code
abstract public function dropIndex($table, $name);