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

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

 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)
Открытые члены унаследованные от 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)
 ToChar ($expr, $len=0)
 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)

Открытые статические члены

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)

Поля данных

 $db_Conn
 $escL = '"'
 $escR = '"'
 $type = "PGSQL"
Поля данных унаследованные от 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

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

 QueryInternal ($strSql)
 GetError ()
 GetErrorCode ()
 getThreadId ()
Защищенные члены унаследованные от CAllDatabase
 getError ()
 getErrorCode ()

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

Статические открытые данные унаследованные от CAllDatabase
static $arNodes = []
Защищенные данные унаследованные от CAllDatabase
 $connection
 $connectionName = null

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

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

Методы

◆ Add()

Add ( $tablename,
$arFields,
$arCLOBFields = Array(),
$strFileDir = "",
$ignore_errors = false,
$error_position = "",
$arOptions = array() )

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

◆ CreateIndex()

CreateIndex ( $indexName,
$tableName,
$columns,
$unique = false,
$fulltext = false )

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

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

◆ CurrentDateFunction()

CurrentDateFunction ( )
static

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

◆ CurrentTimeFunction()

CurrentTimeFunction ( )
static

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

◆ DateFormatToDB()

DateFormatToDB ( $format,
$field = false )

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

◆ DatetimeToDateFunction()

DatetimeToDateFunction ( $strValue)

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

◆ DatetimeToTimestampFunction()

DatetimeToTimestampFunction ( $fieldName)

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

◆ ForSqlLike()

ForSqlLike ( $strValue,
$iMaxLength = 0 )

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

◆ GetError()

GetError ( )
protected

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

◆ GetErrorCode()

GetErrorCode ( )
protected

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

◆ GetTableFields()

GetTableFields ( $table)

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

◆ getThreadId()

getThreadId ( )
protected

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

◆ Insert()

Insert ( $table,
$arFields,
$error_position = "",
$DEBUG = false,
$EXIST_ID = "",
$ignore_errors = false )

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

◆ PrepareInsert()

PrepareInsert ( $strTableName,
$arFields )

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

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

◆ PrepareUpdate()

PrepareUpdate ( $strTableName,
$arFields,
$strFileDir = "",
$lang = false,
$strTableAlias = "" )

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

◆ PrepareUpdateBind()

PrepareUpdateBind ( $strTableName,
$arFields,
$strFileDir,
$lang,
& $arBinds,
$strTableAlias = "" )

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

◆ PrepareUpdateJoin()

PrepareUpdateJoin ( $strTableName,
$arFields,
$from,
$where )

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

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

◆ QueryInternal()

QueryInternal ( $strSql)
protected

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

◆ ToNumber()

ToNumber ( $expr)

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

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

Поля

◆ $db_Conn

$db_Conn

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

◆ $escL

$escL = '"'

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

◆ $escR

$escR = '"'

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

◆ $type

$type = "PGSQL"

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


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