v1.0.0
English

BaseConnection.php

system/Database/BaseConnection.php
1 class 73 methods

class BaseConnection

__construct (array $params) public
initialize () public
close () public
_close () protected
persistentConnect () public
getConnection (?string $alias = null) public
getDatabase () public
setPrefix (string $prefix = '') public
getPrefix () public
getPlatform () public
setAliasedTables (array $aliases) public
addTableAlias (string $alias) public
execute (string $sql) protected
query (string $sql, $binds = null, bool $setEscapeFlags = true, string $queryClass = '') public
simpleQuery (string $sql) public
transOff () public
transStrict (bool $mode = true) public
transStart (bool $testMode = false) public
transException (bool $transException) public
transComplete () public
transStatus () public
transBegin (bool $testMode = false) public
transCommit () public
transRollback () public
resetTransStatus () public
handleTransStatus () public
_transBegin () protected
_transCommit () protected
_transRollback () protected
table ($tableName) public
newQuery () public
prepare (Closure $func, array $options = []) public
getLastQuery () public
showLastQuery () public
getConnectStart () public
getConnectDuration (int $decimals = 6) public
protectIdentifiers ($item, bool $prefixSingle = false, ?bool $protectIdentifiers = null, bool $fieldExists = true) public
protectDotItem (string $item, string $alias, bool $protectIdentifiers, bool $fieldExists) private
escapeIdentifier ($item) public
escapeTableName (TableName $tableName) private
escapeIdentifiers ($item) public
prefixTable (string $table = '') public
affectedRows () public
escape ($str) public
escapeString ($str, bool $like = false) public
escapeLikeString ($str) public
_escapeString (string $str) protected
callFunction (string $functionName, ...$params) public
getDriverFunctionPrefix () protected
listTables (bool $constrainByPrefix = false) public
tableExists (string $tableName, bool $cached = true) public
getFieldNames ($tableName) public
fieldExists (string $fieldName, string $tableName) public
getFieldData (string $table) public
getIndexData (string $table) public
getForeignKeyData (string $table) public
foreignKeyDataToObjects (array $data) protected
disableForeignKeyChecks () public
enableForeignKeyChecks () public
pretend (bool $pretend = true) public
resetDataCache () public
isWriteType ($sql) public
error () public
insertID () public
_listTables (bool $constrainByPrefix = false, ?string $tableName = null) protected
_listColumns ($table = '') protected
_fieldData (string $table) protected
_indexData (string $table) protected
_foreignKeyData (string $table) protected
_disableForeignKeyChecks () protected
_enableForeignKeyChecks () protected
__get (string $key) public
__isset (string $key) public
phpDG v1.0.0 BaseConnection.php 662 files 498 classes 763 fn
Generated