D7 API documentation
What's New
Modules
Main module in old core
Connection constructor
add
clearCaches
commitTransaction
connect
createIndex
createPrimaryIndex
disableQueryExecuting
disconnect
dropColumn
dropTable
enableQueryExecuting
executeSqlBatch
getAffectedRowsCount
getDbHost
getDbLogin
getDbName
getDisabledQueryExecutingDump
getIndexName
getNodeId
getSqlHelper
getTableField
getTableFields
getTracker
getType
getVersion
isIndexExists
isTableExists
query
queryExecute
queryScalar
renameTable
rollbackTransaction
setConnectionResourceNoDemand
setNodeId
setTracker
startTracker
startTransaction
stopTracker
truncateTable
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
Up