PHP Класс CI_DB_pdo_oci_driver, TastyIgniter

Note: _DB is an extender class that the app controller creates dynamically based on whether the query builder class is being used or not.
Автор: EllisLab Dev Team
Наследование: extends CI_DB_pdo_driver
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$subdriver string Sub-driver

Защищенные свойства (Protected)

Свойство Тип Описание
$_count_string string COUNT string
$_random_keyword array ORDER BY random keyword
$_reserved_identifiers string[] Identifiers that must NOT be escaped.

Открытые методы

Метод Описание
__construct ( array $params ) : void Class constructor
field_data ( string $table ) : array Returns an object with field data
version ( ) : string Database version number

Защищенные методы

Метод Описание
_delete ( string $table ) : string Delete statement
_insert_batch ( string $table, array $keys, array $values ) : string Insert batch statement
_limit ( string $sql ) : string LIMIT
_list_columns ( string $table = '' ) : string Show column query
_list_tables ( boolean $prefix_limit = FALSE ) : string Show table query

Описание методов

__construct() публичный Метод

Builds the DSN if not already set.
public __construct ( array $params ) : void
$params array
Результат void

_delete() защищенный Метод

Generates a platform-specific delete string from the supplied data
protected _delete ( string $table ) : string
$table string
Результат string

_insert_batch() защищенный Метод

Insert batch statement
protected _insert_batch ( string $table, array $keys, array $values ) : string
$table string Table name
$keys array INSERT keys
$values array INSERT values
Результат string

_limit() защищенный Метод

Generates a platform-specific LIMIT clause
protected _limit ( string $sql ) : string
$sql string SQL Query
Результат string

_list_columns() защищенный Метод

Generates a platform-specific query string so that the column names can be fetched
protected _list_columns ( string $table = '' ) : string
$table string
Результат string

_list_tables() защищенный Метод

Generates a platform-specific query string so that the table names can be fetched
protected _list_tables ( boolean $prefix_limit = FALSE ) : string
$prefix_limit boolean
Результат string

field_data() публичный Метод

Returns an object with field data
public field_data ( string $table ) : array
$table string
Результат array

version() публичный Метод

Database version number
public version ( ) : string
Результат string

Описание свойств

$_count_string защищенное свойство

COUNT string
protected string $_count_string
Результат string

$_random_keyword защищенное свойство

ORDER BY random keyword
protected array $_random_keyword
Результат array

$_reserved_identifiers защищенное свойство

Identifiers that must NOT be escaped.
protected string[] $_reserved_identifiers
Результат string[]

$subdriver публичное свойство

Sub-driver
public string $subdriver
Результат string