PHP 클래스 CI_DB_pdo_sqlite_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
파일 보기 프로젝트 열기: tastyigniter/tastyigniter

공개 프로퍼티들

프로퍼티 타입 설명
$subdriver string Sub-driver

보호된 프로퍼티들

프로퍼티 타입 설명
$_random_keyword array ORDER BY random keyword

공개 메소드들

메소드 설명
__construct ( array $params ) : void Class constructor
field_data ( string $table ) : array Returns an object with field data
list_fields ( string $table ) : array Fetch Field Names

보호된 메소드들

메소드 설명
_list_tables ( boolean $prefix_limit = FALSE ) : string Show table query
_replace ( string $table, array $keys, array $values ) : string Replace statement
_truncate ( string $table ) : string Truncate statement

메소드 상세

__construct() 공개 메소드

Builds the DSN if not already set.
public __construct ( array $params ) : void
$params array
리턴 void

_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

_replace() 보호된 메소드

Replace statement
protected _replace ( string $table, array $keys, array $values ) : string
$table string Table name
$keys array INSERT keys
$values array INSERT values
리턴 string

_truncate() 보호된 메소드

Generates a platform-specific truncate string from the supplied data If the database does not support the TRUNCATE statement, then this method maps to 'DELETE FROM table'
protected _truncate ( string $table ) : string
$table string
리턴 string

field_data() 공개 메소드

Returns an object with field data
public field_data ( string $table ) : array
$table string
리턴 array

list_fields() 공개 메소드

Fetch Field Names
public list_fields ( string $table ) : array
$table string Table name
리턴 array

프로퍼티 상세

$_random_keyword 보호되어 있는 프로퍼티

ORDER BY random keyword
protected array $_random_keyword
리턴 array

$subdriver 공개적으로 프로퍼티

Sub-driver
public string $subdriver
리턴 string