PHP Class 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.
Author: EllisLab Dev Team
Inheritance: extends CI_DB_pdo_driver
Afficher le fichier Open project: tastyigniter/tastyigniter

Méthodes publiques

Свойство Type Description
$subdriver string Sub-driver

Protected Properties

Свойство Type Description
$_count_string string COUNT string
$_random_keyword array ORDER BY random keyword
$_reserved_identifiers string[] Identifiers that must NOT be escaped.

Méthodes publiques

Méthode Description
__construct ( array $params ) : void Class constructor
field_data ( string $table ) : array Returns an object with field data
version ( ) : string Database version number

Méthodes protégées

Méthode Description
_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

Method Details

__construct() public méthode

Builds the DSN if not already set.
public __construct ( array $params ) : void
$params array
Résultat void

_delete() protected méthode

Generates a platform-specific delete string from the supplied data
protected _delete ( string $table ) : string
$table string
Résultat string

_insert_batch() protected méthode

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
Résultat string

_limit() protected méthode

Generates a platform-specific LIMIT clause
protected _limit ( string $sql ) : string
$sql string SQL Query
Résultat string

_list_columns() protected méthode

Generates a platform-specific query string so that the column names can be fetched
protected _list_columns ( string $table = '' ) : string
$table string
Résultat string

_list_tables() protected méthode

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
Résultat string

field_data() public méthode

Returns an object with field data
public field_data ( string $table ) : array
$table string
Résultat array

version() public méthode

Database version number
public version ( ) : string
Résultat string

Property Details

$_count_string protected_oe property

COUNT string
protected string $_count_string
Résultat string

$_random_keyword protected_oe property

ORDER BY random keyword
protected array $_random_keyword
Résultat array

$_reserved_identifiers protected_oe property

Identifiers that must NOT be escaped.
protected string[] $_reserved_identifiers
Résultat string[]

$subdriver public_oe property

Sub-driver
public string $subdriver
Résultat string