Class||Interface DBMSUtils
Constants
DUMP_STRUCTURE
DUMP_STRUCTURE = 1
Tags
| None found |
DUMP_DATA
DUMP_DATA = 2
Tags
| None found |
DUMP_STRUCTURE_AND_DATA
DUMP_STRUCTURE_AND_DATA = 3
Tags
| None found |
Methods
get_dbms_version()
get_dbms_version()
- Inherited from \DBMSUtils
Tags
| None found |
list_databases()
list_databases()
- Inherited from \DBMSUtils
Tags
| None found |
get_database_name()
get_database_name()
- Inherited from \DBMSUtils
Tags
| None found |
create_database()
create_database( $database_name)
Parameters
| $database_name |
- Inherited from \DBMSUtils
Tags
| None found |
list_tables()
list_tables()
- Inherited from \DBMSUtils
Tags
| None found |
list_and_desc_tables()
list_and_desc_tables( $with_prefix = false)
Parameters
| $with_prefix |
- Inherited from \DBMSUtils
Tags
| None found |
desc_table()
desc_table( $table)
Parameters
| $table |
- Inherited from \DBMSUtils
Tags
| None found |
create_table()
create_table( $table_name, array $fields, array $options = array())
Parameters
| $table_name | ||
| array | $fields | |
| array | $options |
- Inherited from \DBMSUtils
Tags
| None found |
optimize()
optimize( $tables)
Parameters
| $tables |
- Inherited from \DBMSUtils
Tags
| None found |
repair()
repair( $tables)
Parameters
| $tables |
- Inherited from \DBMSUtils
Tags
| None found |
truncate()
truncate( $tables)
Parameters
| $tables |
- Inherited from \DBMSUtils
Tags
| None found |
drop()
drop( $tables)
Parameters
| $tables |
- Inherited from \DBMSUtils
Tags
| None found |
add_column()
add_column( $table_name, $column_name, array $column_description)
Parameters
| $table_name | ||
| $column_name | ||
| array | $column_description |
- Inherited from \DBMSUtils
Tags
| None found |
drop_column()
drop_column( $table_name, $column_name)
Parameters
| $table_name | ||
| $column_name |
- Inherited from \DBMSUtils
Tags
| None found |
dump_phpboost()
dump_phpboost(\FileWriter $file, $what = self::DUMP_STRUCTURE_AND_DATA)
Parameters
| \FileWriter | $file | |
| $what |
- Inherited from \DBMSUtils
Tags
| None found |
dump_tables()
dump_tables(\FileWriter $file, array $tables, $what = self::DUMP_STRUCTURE_AND_DATA)
Parameters
| \FileWriter | $file | |
| array | $tables | |
| $what |
- Inherited from \DBMSUtils
Tags
| None found |
dump_table()
dump_table(\FileWriter $file, $table, $what = self::DUMP_STRUCTURE_AND_DATA)
Parameters
| \FileWriter | $file | |
| $table | ||
| $what |
- Inherited from \DBMSUtils
Tags
| None found |
parse_file()
parse_file(\File $file, $prefix = '')
Parameters
| \File | $file | |
| $prefix |
- Inherited from \DBMSUtils
Tags
| None found |