findUniqueIndexes() public method
Returns all unique indexes for the given table.
Each array element is of the following structure:
[
'IndexName1' => ['col1' [, ...]],
'IndexName2' => ['col2' [, ...]],
]
| public array findUniqueIndexes ( $table ) | ||
|---|---|---|
| $table | yii\db\TableSchema |
The table metadata |
| return | array |
All unique indexes for the given table. |
Please login to continue.