You are here

function backup_migrate_source_db_mysql::query in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 7.3 includes/sources.db.mysql.inc \backup_migrate_source_db_mysql::query()

Run a db query on this destination's db.

7 calls to backup_migrate_source_db_mysql::query()
backup_migrate_source_db_mysql::_dump_table_data_sql_to_file in includes/sources.db.mysql.inc
Get the sql to insert the data for a given table
backup_migrate_source_db_mysql::_get_tables in includes/sources.db.mysql.inc
Get a list of tables in the db.
backup_migrate_source_db_mysql::_get_table_structure_sql in includes/sources.db.mysql.inc
Get the sql for the structure of the given table.
backup_migrate_source_db_mysql::_get_views in includes/sources.db.mysql.inc
Get a list of views in the db.
backup_migrate_source_db_mysql::_get_view_create_sql in includes/sources.db.mysql.inc
Get the sql for the structure of the given view.

... See full list

File

includes/sources.db.mysql.inc, line 433
Functions to handle the direct to database source.

Class

backup_migrate_source_db_mysql
A source type for backing up from database server.

Code

function query($query, $args = array(), $options = array()) {
  if ($conn = $this
    ->_get_db_connection()) {
    return $conn
      ->query($query, $args, $options);
  }
}