Solar_Sql_Adapter_Mysql::createIndex()
public
void
Solar_Sql_Adapter_Mysql::createIndex
( string $table
, string $name
, bool $unique = false
, array $cols = NULL
)
Creates a portable index on a table.
Inherited from Solar_Sql_Adapter.
Parameters
(string)
$table: The name of the table for the index.(string)
$name: The name of the index.(bool)
$unique: Whether or not the index is unique.(array)
$cols: The columns in the index. If empty, uses the $name parameters as the column name.
Returns
(void)
Description
Creates a portable index on a table.