Documentation

getIndexName

string|null public
\Bitrix\Main\DB\Connection::getIndexName(
 string $tableName,
 array $columns,
 boolean $strict = false
);

Its non-static abstract method returns index name.

Parameters

ParameterDescriptionVersion
$tableNameTable name.
$columnsArray of index columns.
$strictThe flag indicating that the columns in the index must exactly match the columns in the $Columns parameter.

Exceptions

Example



© «Bitrix24», 2001-2024
Up