db_drop_index

6 database.mysql-common.inc db_drop_index(&$ret, $table, $name)
6 database.pgsql.inc db_drop_index(&$ret, $table, $name)
7 database.inc db_drop_index($table, $name)
8 database.inc db_drop_index($table, $name)

Drops an index.

Parameters

$table: The table to be altered.

$name: The name of the index.

Related topics

20 calls to db_drop_index()

File

includes/database/database.inc, line 2920
Core systems for the database layer.

Code

function db_drop_index($table, $name) {
  return Database::getConnection()->schema()->dropIndex($table, $name);
}
Login or register to post comments