Concatenates the tables creation to the SQL backup script.
Parameters:
string[]
$table_list
names of the tables which must be created by the backup script. If you want to generate the query which will create all the tables, don't use this parameter of let an empty array.
Concatenates the query which drops the PHPBoost tables only if they exist to the backup SQL script.
Parameters:
string[]
$table_list
names of the tables which must be dropped by the query. If you want to generate the query which will drop all the tables, don't use this parameter of let an empty array.
Concatenates the tables content insertion queries to the SQL backup script.
Parameters:
$tables
$tables
names of the tables which must be filled by the backup script. If you want to generate the query which will fill all the tables, don't use this parameter of let an empty array.
Lists the tables (name and informations relative to each table) of the data base at which is connected this SQL object. This method calls the SHOW TABLE STATUS MySQL query, to know more about it, see http://dev.mysql.com/doc/refman/5.1/en/show-table-status.html
Tags:
return: Map containing the following structure: for each table: table_name => array( 'name' => name of the table, 'engine' => storage engine of the table, 'row_format' => row storage format, 'rows' => number of rows, 'data_length' => the length of the data file, 'index_length' => the length of the index file, 'data_free' => the number of allocated but unused bytes, 'collation' => the table's character set and collation, 'auto_increment' => the next AUTO_INCREMENT value, 'create_time' => when the table was created, 'update_time' => when the data file was last updated )