getIndexName
string|null public \Bitrix\Main\DB\MysqlCommonConnection::getIndexName( string $tableName, array $columns, boolean $strict = false );
This non-static method returns name of an index.
Parameters
Parameter | Description | Version |
---|---|---|
$tableName | Name of table. | |
$columns | Array of index columns. | |
$strict | The flag indicating that the columns in the index must exactly match the columns in the $arColumns parameter. |
Exceptions
Examples
© «Bitrix24», 2001-2024
Up