db\mssql\Schema findUniqueIndexes()

findUniqueIndexes() public method (available since version 2.0.4)

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\mssql\TableSchema

The table metadata

return array

All unique indexes for the given table.

doc_Yii
2016-10-30 16:58:23
Comments
Leave a Comment

Please login to continue.