1 database.inc db_driver()

Retrieves the name of the currently active database driver.

Return value

The name of the currently active database driver.:

Related topics

File

core/includes/database/database.inc, line 2746
Core systems for the database layer.

Code

function db_driver() {
  return Database::getConnection()->driver();
}