Class Core_DataBase_Mysql
MySQL DataBase driver
- Core_DataBase
-
Core_DataBase_Mysql
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at core/database/mysql.php
Methods summary
public
resource
|
|
public
boolean
|
|
public
|
|
public
|
|
public
string|null
|
|
public
|
|
public
string
|
#
escape( string $unescapedString )
Escapes special characters in a string for use in an SQL statement |
public
array
|
|
protected
|
#
_addQuoteColumnNameCache( string $columnName, string $value )
Insert a quoted column name into cache |
public
string
|
#
quoteTableName( mixed $tableName )
Quote table name, e.g. |
public
string
|
#
quoteColumnName( mixed $columnName )
Quote column name, e.g. |
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
array
|
|
public
|
|
public
array
|
#
result( boolean $bCache = TRUE )
Get last query result rows as an array of associative arrays or as an array of objects |
protected
array
|
|
public
mixed
|
#
current( boolean $bCache = TRUE )
Get next row for last query result as an associative array or as an object |
public
resource
|
|
public
|
|
public
|
|
protected
mixed
|
|
protected
mixed
|
|
public
integer|null
|
|
public
integer|null
|
|
public
integer|null
|
|
public
integer|null
|
|
public
|
|
protected
|
Methods inherited from Core_DataBase
__construct(),
__destruct(),
_getDriverName(),
dump(),
escapeLike(),
getCollations(),
getColumnTypeAndLength(),
getColumns(),
getConfig(),
getFullColumns(),
getIndexes(),
getLastQuery(),
getQueryType(),
highlightSql(),
instance(),
quote(),
setConfig(),
setQueryType(),
unbuffered()
Properties summary
protected
resource|null
|
$_result
Result of query |
#
NULL
|
protected static
integer
|
$_maxObjects
Maximum number of objects Максимальное количество объектов в кэше |
#
256
|
protected
array
|
$_quoteColumnNameCache
Quoted column name cache |
#
array()
|
Properties inherited from Core_DataBase
$_asObject,
$_collations,
$_colors,
$_columnQuoteCharacter,
$_config,
$_connection,
$_lastQuery,
$_likeReplacements,
$_queryType,
$_separator,
$_tableQuoteCharacter,
$_unbuffered,
$_words,
$instance