Summary
- File
- Package hierarchy DB\dbms
- Class hierarchy \MySQLDBMSUtils
- Implements \DBMSUtils
__construct(\SQLQuerier $querier)
\SQLQuerier | $querier |
None found |
get_dbms_version()
None found |
list_databases()
None found |
create_database( $database_name)
$database_name |
None found |
get_database_name()
None found |
list_tables( $with_prefix = false)
$with_prefix |
None found |
list_and_desc_tables( $with_prefix = false)
$with_prefix |
None found |
desc_table( $table)
$table |
None found |
create_table( $table_name, array $fields, array $options = array())
$table_name | ||
array | $fields | |
array | $options |
None found |
drop( $tables)
$tables |
None found |
truncate( $tables)
$tables |
None found |
optimize( $tables)
$tables |
None found |
repair( $tables)
$tables |
None found |
add_column( $table_name, $column_name, array $column_description)
$table_name | ||
$column_name | ||
array | $column_description |
None found |
drop_column( $table_name, $column_name)
$table_name | ||
$column_name |
None found |
dump_phpboost(\FileWriter $file, $what = self::DUMP_STRUCTURE_AND_DATA)
\FileWriter | $file | |
$what |
None found |
dump_tables(\FileWriter $file, array $tables, $what = self::DUMP_STRUCTURE_AND_DATA)
\FileWriter | $file | |
array | $tables | |
$what |
None found |
dump_table(\FileWriter $file, $table, $what = self::DUMP_STRUCTURE_AND_DATA)
\FileWriter | $file | |
$table | ||
$what |
None found |
dump_table_rows( $table, $file = null)
$table | ||
$file |
None found |
parse_file(\File $file, $prefix = '')
\File | $file | |
$prefix |
None found |
export_field( $field)
$field |
None found |
write( $string, \FileWriter $file)
$string | ||
\FileWriter | $file |
None found |
get_drop_table_query( $tables)
$tables |
None found |
get_create_table_query( $table)
$table |
None found |
select( $query, $parameters = array(), $fetch_mode = \SelectQueryResult::FETCH_ASSOC)
$query | ||
$parameters | ||
$fetch_mode |
None found |
inject( $query, $parameters = array())
$query | ||
$parameters |
None found |
get_platform() : \MySqlPlatform
None found |