isIndexExists
boolean public \Bitrix\Main\DB\Connection::isIndexExists( string $tableName, array $columns );
This non-static abstract method checks if an index exist.
Actual columns in the index may differ from requested. $columns
may present an "prefix" of actual index columns.
Parameters
Parameter | Description | Version |
---|---|---|
$tableName | Table name. | |
$columns | Array of index columns. |
Exceptions
Examples
© «Bitrix24», 2001-2025