function _drush_sql_get_scheme

6.x sql.drush.inc _drush_sql_get_scheme($db_spec = NULL)
3.x sql.drush.inc _drush_sql_get_scheme($db_spec = NULL)
4.x sql.drush.inc _drush_sql_get_scheme($db_spec = NULL)
5.x sql.drush.inc _drush_sql_get_scheme($db_spec = NULL)
10 calls to _drush_sql_get_scheme()
drush_db_select in includes/dbtng.inc
A db_select() that works for any version of Drupal.
drush_sql_build_createdb_sql in commands/sql/sql.drush.inc
Build a SQL string for dropping and creating a database.
drush_sql_build_dump_command in commands/sql/sql.drush.inc
Build a mysqldump/pg_dump/sqlite statement.
drush_sql_build_exec in commands/sql/sql.drush.inc
drush_sql_sync in commands/sql/sync.sql.inc

... See full list

File

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

Code

function _drush_sql_get_scheme($db_spec = NULL) {
  if (!isset($db_spec)) {
    $db_spec = _drush_sql_get_db_spec();
  }
  return $db_spec['driver'];
}