1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс MysqliConnection
Граф наследования:MysqliConnection:
MysqlCommonConnection Connection

Открытые члены

 __construct (array $configuration)
 getInsertedId ()
 getAffectedRowsCount ()
 getVersion ()
 getErrorMessage ()
 getErrorCode ()
 selectDatabase ($database)
Открытые члены унаследованные от MysqlCommonConnection
 isTableExists ($tableName)
 isIndexExists ($tableName, array $columns)
 getIndexName ($tableName, array $columns, $strict=false)
 getTableFields ($tableName)
 createTable ($tableName, $fields, $primary=[], $autoincrement=[])
 createIndex ($tableName, $indexName, $columnNames, $columnLengths=null, $indexType=null)
 renameTable ($currentName, $newName)
 dropTable ($tableName)
 startTransaction ()
 commitTransaction ()
 rollbackTransaction ()
 lock ($name, $timeout=0)
 unlock ($name)
 getType ()
 setStorageEngine ()
 getMaxAllowedPacket ()
 createQueryException ($code=0, $databaseMessage='', $query='')
Открытые члены унаследованные от Connection
 connect ()
 disconnect ()
 getResource ()
 isConnected ()
 getConfiguration ()

Защищенные члены

 createSqlHelper ()
 connectInternal ()
 disconnectInternal ()
 queryInternal ($sql, array $binds=null, Diag\SqlTrackerQuery $trackerQuery=null)
 createResult ($result, Diag\SqlTrackerQuery $trackerQuery=null)
 configureReportLevel ()
Защищенные члены унаследованные от MysqlCommonConnection
 getLockName ($name)

Дополнительные унаследованные члены

Защищенные данные унаследованные от MysqlCommonConnection
 $engine = ""
int $transactionLevel = 0
Защищенные данные унаследованные от Connection
 $resource
 $isConnected = false
 $configuration

Подробное описание

См. определение в файле mysqliconnection.php строка 12

Конструктор(ы)

◆ __construct()

__construct ( array $configuration)

@inheritDoc

Переопределяет метод предка MysqlCommonConnection.

См. определение в файле mysqliconnection.php строка 14

Методы

◆ configureReportLevel()

configureReportLevel ( )
protected

См. определение в файле mysqliconnection.php строка 226

◆ connectInternal()

connectInternal ( )
protected

Establishes a connection to the database. Includes php_interface/after_connect_d7.php on success. Throws exception on failure.

Возвращает
void
Исключения
ConnectionException

Переопределяет метод предка Connection.

См. определение в файле mysqliconnection.php строка 42

◆ createResult()

createResult ( $result,
Diag\SqlTrackerQuery $trackerQuery = null )
protected

@inheritDoc

См. определение в файле mysqliconnection.php строка 158

◆ createSqlHelper()

createSqlHelper ( )
protected

См. определение в файле mysqliconnection.php строка 25

◆ disconnectInternal()

disconnectInternal ( )
protected

Disconnects from the database. Does nothing if there was no connection established.

Возвращает
void

Переопределяет метод предка Connection.

См. определение в файле mysqliconnection.php строка 119

◆ getAffectedRowsCount()

getAffectedRowsCount ( )

@inheritDoc

См. определение в файле mysqliconnection.php строка 174

◆ getErrorCode()

getErrorCode ( )

@inheritDoc

См. определение в файле mysqliconnection.php строка 210

◆ getErrorMessage()

getErrorMessage ( )

@inheritDoc

См. определение в файле mysqliconnection.php строка 202

◆ getInsertedId()

getInsertedId ( )

@inheritDoc

См. определение в файле mysqliconnection.php строка 166

◆ getVersion()

getVersion ( )

@inheritDoc

См. определение в файле mysqliconnection.php строка 186

◆ queryInternal()

queryInternal ( $sql,
array $binds = null,
Diag\SqlTrackerQuery $trackerQuery = null )
protected

@inheritDoc

См. определение в файле mysqliconnection.php строка 135

◆ selectDatabase()

selectDatabase ( $database)

Selects the default database for database queries.

Аргументы
string$databaseDatabase name.
Возвращает
bool

Переопределяет метод предка MysqlCommonConnection.

См. определение в файле mysqliconnection.php строка 221


Объявления и описания членов класса находятся в файле: