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

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

Открытые члены унаследованные от CDatabaseMysql
 Disconnect ()
 DateFormatToDB ($format, $field=false)
 DatetimeToTimestampFunction ($fieldName)
 DatetimeToDateFunction ($strValue)
 CompareDates ($date1, $date2)
 PrepareFields ($strTableName, $strPrefix="str_", $strSuffix="")
 PrepareInsert ($strTableName, $arFields)
 PrepareUpdate ($strTableName, $arFields, $strFileDir="", $lang=false, $strTableAlias="")
 PrepareUpdateBind ($strTableName, $arFields, $strFileDir, $lang, &$arBinds, $strTableAlias="")
 PrepareUpdateJoin ($strTableName, $arFields, $from, $where)
 Insert ($table, $arFields, $error_position="", $DEBUG=false, $EXIST_ID="", $ignore_errors=false)
 Add ($tablename, $arFields, $arCLOBFields=[], $strFileDir="", $ignore_errors=false, $error_position="", $arOptions=[])
 LockTables ($str)
 UnLockTables ()
 ToChar ($expr, $len=0)
 Instr ($str, $toFind)
 CreateIndex ($indexName, $tableName, $columns, $unique=false, $fulltext=false)
 ForSqlLike ($strValue, $iMaxLength=0)
 GetTableFields ($table)
Открытые члены унаследованные от CAllDatabase
 StartUsingMasterOnly ()
 StopUsingMasterOnly ()
 getConnection ()
 Connect ($DBHost, $DBName, $DBLogin, $DBPassword, $connectionName="")
 DoConnect ($connectionName='')
 startSqlTracker ()
 GetVersion ()
 GetNowFunction ()
 GetNowDate ()
 DateToCharFunction ($strFieldName, $strType="FULL", $lang=false, $bSearchInSitesOnly=false)
 CharToDateFunction ($strValue, $strType="FULL", $lang=false)
 Concat ()
 Substr ($str, $from, $length=null)
 IsNull ($expression, $result)
 Length ($field)
 TopSql ($strSql, $nTopCount)
 LastID ()
 GetTableFieldsList ($table)
 Query ($strSql, $bIgnoreErrors=false, $error_position="", $arOptions=[])
 QueryBind ($strSql, $arBinds, $bIgnoreErrors=false)
 QueryLong ($strSql, $bIgnoreErrors=false)
 ForSql ($strValue, $iMaxLength=0)
 TableExists ($tableName)
 quote ($identifier)
 PrepareUpdate ($strTableName, $arFields)
 Update ($table, $arFields, $WHERE="", $error_position="", $DEBUG=false, $ignore_errors=false, $additional_check=true)
 InitTableVarsForEdit ($tablename, $strIdentFrom="str_", $strIdentTo="str_", $strSuffixFrom="", $bAlways=false)
 ParseSqlBatch ($strSql)
 RunSQLBatch ($filepath)
 IsDate ($value, $format=false, $lang=false, $format_type="SHORT")
 GetErrorMessage ()
 GetErrorSQL ()
 StartTransaction ()
 Commit ()
 Rollback ()
 DDL ($strSql, $bIgnoreErrors=false, $error_position="", $arOptions=[])
 addDebugQuery ($strSql, $exec_time, $node_id=0)
 addDebugTime ($index, $exec_time)
 GetIndexName ($tableName, $arColumns, $bStrict=false)
 IndexExists ($tableName, $arColumns, $bStrict=false)
Открытые члены унаследованные от CDatabasePgSql
 ToNumber ($expr)
 DateFormatToDB ($format, $field=false)
 DatetimeToTimestampFunction ($fieldName)
 DatetimeToDateFunction ($strValue)
 ForSqlLike ($strValue, $iMaxLength=0)
 GetTableFields ($table)
 PrepareInsert ($strTableName, $arFields)
 PrepareUpdate ($strTableName, $arFields, $strFileDir="", $lang=false, $strTableAlias="")
 PrepareUpdateBind ($strTableName, $arFields, $strFileDir, $lang, &$arBinds, $strTableAlias="")
 PrepareUpdateJoin ($strTableName, $arFields, $from, $where)
 Insert ($table, $arFields, $error_position="", $DEBUG=false, $EXIST_ID="", $ignore_errors=false)
 Add ($tablename, $arFields, $arCLOBFields=Array(), $strFileDir="", $ignore_errors=false, $error_position="", $arOptions=array())
 CreateIndex ($indexName, $tableName, $columns, $unique=false, $fulltext=false)
Открытые статические члены унаследованные от CDatabaseMysql
static CurrentTimeFunction ()
static CurrentDateFunction ()
Открытые статические члены унаследованные от CAllDatabase
static GetDBNodeConnection ($node_id, $bIgnoreErrors=false, $bCheckStatus=true)
static showConnectionError ()
static GetModuleConnection ($module_id, $bModuleInclude=false)
static DateFormatToPHP ($format)
static FormatDate ($strDate, $format="DD.MM.YYYY HH:MI:SS", $new_format="DD.MM.YYYY HH:MI:SS")
static registerAutoload (?string $connectionType=null)
Открытые статические члены унаследованные от CDatabasePgSql
static CurrentTimeFunction ()
static CurrentDateFunction ()
Поля данных унаследованные от CDatabaseMysql
 $db_Conn
 $type = "MYSQL"
 $escL = '`'
 $escR = '`'
Поля данных унаследованные от CAllDatabase
 $DBName
 $DBHost
 $DBLogin
 $DBPassword
 $db_Conn
 $debug
 $DebugToFile
 $ShowSqlStat
 $db_Error
 $db_ErrorSQL
 $result
 $type
 $version
 $column_cache = []
 $bModuleConnection
 $bNodeConnection
 $node_id
 $obSlave = null
 $cntQuery = 0
 $timeQuery = 0.0
 $arQueryDebug = []
 $sqlTracker = null
Поля данных унаследованные от CDatabasePgSql
 $db_Conn
 $escL = '"'
 $escR = '"'
 $type = "PGSQL"
Статические открытые данные унаследованные от CAllDatabase
static $arNodes = []
Защищенные члены унаследованные от CDatabaseMysql
 QueryInternal ($strSql)
 GetError ()
 GetErrorCode ()
 getThreadId ()
Защищенные члены унаследованные от CAllDatabase
 getError ()
 getErrorCode ()
Защищенные члены унаследованные от CDatabasePgSql
 QueryInternal ($strSql)
 GetError ()
 GetErrorCode ()
 getThreadId ()
Защищенные данные унаследованные от CAllDatabase
 $connection
 $connectionName = null

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

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


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