Свойство | Тип | Описание | |
---|---|---|---|
$_create_database | string | CREATE DATABASE statement | |
$_create_table_if | string | CREATE TABLE IF statement | |
$_create_table_keys | boolean | Whether table keys are created from within the CREATE TABLE statement. | |
$_drop_table_if | string | DROP TABLE IF statement | |
$_null | string | NULL value representation in CREATE/ALTER TABLE statements | |
$_unsigned | array | UNSIGNED support |
Метод | Описание | |
---|---|---|
_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 |
protected _create_table_attr ( array $attributes ) : string | ||
$attributes | array | Associative array of table attributes |
Результат | string |
protected _process_column ( array $field ) : string | ||
$field | array | |
Результат | string |
protected _process_indexes ( string $table ) : string | ||
$table | string | (ignored) |
Результат | string |
protected string $_create_database | ||
Результат | string |
protected string $_create_table_if | ||
Результат | string |
protected bool $_create_table_keys | ||
Результат | boolean |
protected string $_drop_table_if | ||
Результат | string |
protected string $_null | ||
Результат | string |