Documentation

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

ParameterDescriptionVersion
$tableNameName of table.
$columnsArray of index columns.
$strictThe flag indicating that the columns in the index must exactly match the columns in the $arColumns parameter.

Exceptions

Examples



© «Bitrix24», 2001-2024
Up