Property | Type | Description | |
---|---|---|---|
$_create_table_if | string | CREATE TABLE IF statement | |
$_drop_table_if | string | DROP TABLE IF statement | |
$_null | string | NULL value representation in CREATE/ALTER TABLE statements | |
$_rename_table | string | RENAME TABLE statement | |
$_unsigned | array | UNSIGNED support |
Method | Description | |
---|---|---|
create_database ( string $db_name ) : string | Create database | |
drop_database ( string $db_name = '' ) : boolean | Drop database |
Method | 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 |
protected _attr_auto_increment ( &$attributes, &$field ) : void | ||
return | void |
protected _attr_type ( &$attributes ) : void | ||
return | void |
protected _process_column ( array $field ) : string | ||
$field | array | |
return | string |
public create_database ( string $db_name ) : string | ||
$db_name | string | |
return | string |
public drop_database ( string $db_name = '' ) : boolean | ||
$db_name | string | (ignored) |
return | boolean |
protected string $_create_table_if | ||
return | string |
protected string $_drop_table_if | ||
return | string |
protected string $_null | ||
return | string |
protected string $_rename_table | ||
return | string |