isIndexExists
boolean public \Bitrix\Main\DB\MssqlConnection::isIndexExists( string $tableName, array $columns );
This non-static method checks existence of index.
Actual content of index columns can vary from the queried columns. Prefix for actual index columns can be used in $columns
.
Parameters
Parameter | Description | Version |
---|---|---|
$tableName | Table name. | |
$columns | Array of columns within index. |
Exceptions
Examples
© «Bitrix24», 2001-2024
Up