protected function DatabaseSchema_pgsql::_createIndexSql
protected DatabaseSchema_pgsql::_createIndexSql($table, $name, $fields)
File
- includes/database/pgsql/schema.inc, line 582
- Database schema code for PostgreSQL database servers.
Class
Code
protected function _createIndexSql($table, $name, $fields) { $query = 'CREATE INDEX "' . $this->prefixNonTable($table, $name, 'idx') . '" ON {' . $table . '} ('; $query .= $this->_createKeySql($fields) . ')'; return $query; }
© 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!pgsql!schema.inc/function/DatabaseSchema_pgsql::_createIndexSql/7.x