PHP Class CI_DB_mysql_forge, TastyIgniter

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

Protected Properties

Свойство Type Description
$_create_database string CREATE DATABASE statement
$_create_table_keys boolean Whether table keys are created from within the CREATE TABLE statement.
$_null string NULL value representation in CREATE/ALTER TABLE statements
$_unsigned array UNSIGNED support

Méthodes protégées

Méthode Description
_alter_table ( string $alter_type, string $table, mixed $field ) : string | string[] ALTER TABLE
_create_table_attr ( array $attributes ) : string CREATE TABLE attributes
_process_column ( array $field ) : string Process column
_process_indexes ( string $table ) : string Process indexes

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[]

_create_table_attr() protected méthode

CREATE TABLE attributes
protected _create_table_attr ( array $attributes ) : string
$attributes array Associative array of table attributes
Résultat string

_process_column() protected méthode

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

_process_indexes() protected méthode

Process indexes
protected _process_indexes ( string $table ) : string
$table string (ignored)
Résultat string

Property Details

$_create_database protected_oe property

CREATE DATABASE statement
protected string $_create_database
Résultat string

$_create_table_keys protected_oe property

Whether table keys are created from within the CREATE TABLE statement.
protected bool $_create_table_keys
Résultat boolean

$_null protected_oe property

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

$_unsigned protected_oe property

UNSIGNED support
protected array $_unsigned
Résultat array