abstract public function DatabaseSchema::indexExists

Checks if an index exists in the given table.

Parameters

$table: The name of the table in drupal (no prefixing).

$name: The name of the index in drupal (no prefixing).

Return value

TRUE if the given index exists, otherwise FALSE.

3 methods override DatabaseSchema::indexExists()

File

drupal/includes/database/schema.inc, line 492

Class

DatabaseSchema
Base class for database schema definitions.

Code

public abstract function indexExists($table, $name);