function backup_migrate_destination_db_mysql::query in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::query()
- 7.3 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::query()
- 7.2 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::query()
Run a db query on this destination's db.
6 calls to backup_migrate_destination_db_mysql::query()
- backup_migrate_destination_db_mysql::_dump_table_data_sql_to_file in includes/
destinations.db.mysql.inc - Get the sql to insert the data for a given table
- backup_migrate_destination_db_mysql::_get_db_connection in includes/
destinations.db.mysql.inc - Get the db connection for the specified db.
- backup_migrate_destination_db_mysql::_get_tables in includes/
destinations.db.mysql.inc - Get a list of tables in the db.
- backup_migrate_destination_db_mysql::_get_table_structure_sql in includes/
destinations.db.mysql.inc - Get the sql for the structure of the given table.
- backup_migrate_destination_db_mysql::_lock_tables in includes/
destinations.db.mysql.inc - Lock the list of given tables in the database.
File
- includes/
destinations.db.mysql.inc, line 377 - Functions to handle the direct to database destination.
Class
- backup_migrate_destination_db_mysql
- A destination type for saving to a database server.
Code
function query($query, $args = array(), $options = array()) {
if ($conn = $this
->_get_db_connection()) {
return $conn
->query($query, $args, $options);
}
}