Documentation

getIndexName

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

This non-static method returns index name.

Parameters

ParameterDescriptionVersion
$tableNameTable name.
$columnsArray of index columns.
$strictThis flag sets requirement for index columns to precisely match with columns in the parameter $Columns.

Exceptions

Examples



© «Bitrix24», 2001-2024
Up