예제 #1
0
파일: DB.php 프로젝트: ramziammar/websites
 /**
  * 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);
 }