Example #1
0
 /**
  * Generate the given index in the database, modifying whatever already exists as necessary.
  * @param string $table The table name.
  * @param string $index The index name.
  * @param string|boolean $spec The specification of the index. See requireTable() for more information.
  */
 static function requireIndex($table, $index, $spec)
 {
     return DB::$globalConn->requireIndex($table, $index, $spec);
 }