PHP 클래스 CI_DB_sqlite_forge, TastyIgniter

상속: extends CI_DB_forge
파일 보기 프로젝트 열기: tastyigniter/tastyigniter

보호된 프로퍼티들

프로퍼티 타입 설명
$_create_table_if string CREATE TABLE IF statement
$_null string NULL value representation in CREATE/ALTER TABLE statements
$_unsigned boolean | array UNSIGNED support

공개 메소드들

메소드 설명
create_database ( string $db_name = '' ) : boolean Create database
drop_database ( string $db_name = '' ) : boolean Drop database

보호된 메소드들

메소드 설명
_alter_table ( string $alter_type, string $table, mixed $field ) : string | string[] ALTER TABLE
_attr_auto_increment ( &$attributes, &$field ) : void Field attribute AUTO_INCREMENT
_attr_type ( &$attributes ) : void Field attribute TYPE
_process_column ( array $field ) : string Process column

메소드 상세

_alter_table() 보호된 메소드

ALTER TABLE
protected _alter_table ( string $alter_type, string $table, mixed $field ) : string | string[]
$alter_type string ALTER type
$table string Table name
$field mixed Column definition
리턴 string | string[]

_attr_auto_increment() 보호된 메소드

Field attribute AUTO_INCREMENT
protected _attr_auto_increment ( &$attributes, &$field ) : void
리턴 void

_attr_type() 보호된 메소드

Performs a data type mapping between different databases.
protected _attr_type ( &$attributes ) : void
리턴 void

_process_column() 보호된 메소드

Process column
protected _process_column ( array $field ) : string
$field array
리턴 string

create_database() 공개 메소드

Create database
public create_database ( string $db_name = '' ) : boolean
$db_name string (ignored)
리턴 boolean

drop_database() 공개 메소드

Drop database
public drop_database ( string $db_name = '' ) : boolean
$db_name string (ignored)
리턴 boolean

프로퍼티 상세

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

CREATE TABLE IF statement
protected string $_create_table_if
리턴 string

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

NULL value representation in CREATE/ALTER TABLE statements
protected string $_null
리턴 string

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

UNSIGNED support
protected bool|array $_unsigned
리턴 boolean | array