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

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

 query ($sql)
 add ($tableName, array $data, $identity="ID")
 getNextId ($name="")
 getInsertedId ()
 getAffectedRowsCount ()
 isTableExists ($tableName)
 isIndexExists ($tableName, array $columns)
 getIndexName ($tableName, array $columns, $strict=false)
 getTableFields ($tableName)
 createTable ($tableName, $fields, $primary=[], $autoincrement=[])
 renameTable ($currentName, $newName)
 dropTable ($tableName)
 startTransaction ()
 commitTransaction ()
 rollbackTransaction ()
 getType ()
 getVersion ()
 getErrorMessage ($resource=null)
Открытые члены унаследованные от Connection
 __construct (array $configuration)
 connect ()
 disconnect ()
 getResource ()
 isConnected ()
 getConfiguration ()
 getMaxAllowedPacket ()

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

 createSqlHelper ()
 connectInternal ()
 disconnectInternal ()
 createResult ($result, \Bitrix\Main\Diag\SqlTrackerQuery $trackerQuery=null)

Защищенные данные

 $lastInsertedId
Защищенные данные унаследованные от Connection
 $resource
 $isConnected = false
 $configuration

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

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

Методы

◆ add()

add ( $tableName,
array $data,
$identity = "ID" )

@inheritDoc

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

◆ commitTransaction()

commitTransaction ( )

@inheritDoc

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

◆ 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.

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

◆ createResult()

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

@inheritDoc

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

◆ createSqlHelper()

createSqlHelper ( )
protected

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

◆ createTable()

createTable ( $tableName,
$fields,
$primary = [],
$autoincrement = [] )

@inheritDoc

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

◆ disconnectInternal()

disconnectInternal ( )
protected

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

Возвращает
void

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

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

◆ dropTable()

dropTable ( $tableName)

@inheritDoc

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

◆ getAffectedRowsCount()

getAffectedRowsCount ( )

@inheritDoc

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

◆ getErrorMessage()

getErrorMessage ( $resource = null)

@inheritDoc

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

◆ getIndexName()

getIndexName ( $tableName,
array $columns,
$strict = false )

@inheritDoc

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

◆ getInsertedId()

getInsertedId ( )

@inheritDoc

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

◆ getNextId()

getNextId ( $name = "")

Gets next value from the database sequence.

Sequence name may contain only A-Z,a-z,0-9 and _ characters.

Аргументы
string$nameName of the sequence.
Возвращает
null|string
Исключения

Bitrix\Main\ArgumentNullException

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

◆ getTableFields()

getTableFields ( $tableName)

@inheritDoc

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

◆ getType()

getType ( )

Returns database type.

  • oracle
Возвращает
string
См. также
Connection::getType

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

◆ getVersion()

getVersion ( )

@inheritDoc

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

◆ isIndexExists()

isIndexExists ( $tableName,
array $columns )

@inheritDoc

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

◆ isTableExists()

isTableExists ( $tableName)

@inheritDoc

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

◆ query()

query ( $sql)

@inheritDoc

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

◆ renameTable()

renameTable ( $currentName,
$newName )

@inheritDoc

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

◆ rollbackTransaction()

rollbackTransaction ( )

@inheritDoc

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

◆ startTransaction()

startTransaction ( )

@inheritDoc

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

Поля

◆ $lastInsertedId

$lastInsertedId
protected

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


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