| Versionen | |
|---|---|
| drupal7 | public DatabaseSchema_pgsql::addIndex(&$ret, $table, $name, $fields) |
Add an index.
$ret Array to which query results will be added.
$table The table to be altered.
$name The name of the index.
$fields An array of field names.
includes/
<?php
public function addIndex(&$ret, $table, $name, $fields) {
$ret[] = update_sql($this->_createIndexSql($table, $name, $fields));
}
?>
Kommentare
Kommentar hinzufügen