function drush_sql_query

8.0.x sql.drush.inc drush_sql_query($query = NULL)
6.x sql.drush.inc drush_sql_query($query = NULL)
7.x sql.drush.inc drush_sql_query($query = NULL)
3.x sql.drush.inc drush_sql_query($query)
4.x sql.drush.inc drush_sql_query($query, $filename = NULL)
5.x sql.drush.inc drush_sql_query($query = NULL)
master sql.drush.inc drush_sql_query($query = NULL)

Command callback. Executes the given SQL query on the Drupal database.

File

commands/sql/sql.drush.inc, line 353
Drush sql commands

Code

function drush_sql_query($query) {
  return _drush_sql_query($query);
}