DatabaseSchema::dropIndex
abstract public function DatabaseSchema::dropIndex
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.
File
- includes/database/schema.inc, line 578
- Generic Database schema code.
Class
Code
abstract public function dropIndex($table, $name);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!schema.inc/function/DatabaseSchema::dropIndex/7.x