Class

MySQLDBMSUtils

Package: IO\DB\dbms Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2017 04 12 Since: PHPBoost 3.0 - 2009 11 03 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Located at: io/db/dbms/MySQLDBMSUtils.class.php
MySQLDBMSUtils implements DBMSUtils
Methods summary
public
# __construct( SQLQuerier $querier )
public
public
public
# create_database( $database_name )
public
public
# list_tables( $with_prefix = false )
public
# list_and_desc_tables( $with_prefix = false )
public
# desc_table( $table )
public
# create_table( $table_name, array $fields, array $options = array() )
public
# drop( $tables )
public
# truncate( $tables )
public
# optimize( $tables )
public
# repair( $tables )
public
# add_column( $table_name, $column_name, array $column_description )
public
# drop_column( $table_name, $column_name )
public
# dump_phpboost( FileWriter $file, $what = self::DUMP_STRUCTURE_AND_DATA )
public
# dump_tables( FileWriter $file, array $tables, $what = self::DUMP_STRUCTURE_AND_DATA )
public
# dump_table( FileWriter $file, $table, $what = self::DUMP_STRUCTURE_AND_DATA )
public
# dump_table_rows( $table, $file = null )
public
# parse_file( File $file, $prefix = '' )