PHP Class CI_DB_pdo_firebird_forge, TastyIgniter

Author: EllisLab Dev Team
Inheritance: extends CI_DB_pdo_forge
Afficher le fichier Open project: tastyigniter/tastyigniter

Protected Properties

Свойство Type Description
$_null string NULL value representation in CREATE/ALTER TABLE statements
$_rename_table string RENAME TABLE statement
$_unsigned array UNSIGNED support

Méthodes publiques

Méthode Description
create_database ( string $db_name ) : string Create database
drop_database ( string $db_name = '' ) : boolean Drop database

Méthodes protégées

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

Method Details

_alter_table() protected méthode

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

_attr_auto_increment() protected méthode

Field attribute AUTO_INCREMENT
protected _attr_auto_increment ( &$attributes, &$field ) : void
Résultat void

_attr_type() protected méthode

Performs a data type mapping between different databases.
protected _attr_type ( &$attributes ) : void
Résultat void

_process_column() protected méthode

Process column
protected _process_column ( array $field ) : string
$field array
Résultat string

create_database() public méthode

Create database
public create_database ( string $db_name ) : string
$db_name string
Résultat string

drop_database() public méthode

Drop database
public drop_database ( string $db_name = '' ) : boolean
$db_name string (ignored)
Résultat boolean

Property Details

$_null protected_oe property

NULL value representation in CREATE/ALTER TABLE statements
protected string $_null
Résultat string

$_rename_table protected_oe property

RENAME TABLE statement
protected string $_rename_table
Résultat string

$_unsigned protected_oe property

UNSIGNED support
protected array $_unsigned
Résultat array