db_driver

  1. drupal
    1. drupal7
Versionen
drupal7 db_driver()

Retrieve the name of the currently active database driver, such as "mysql" or "pgsql".

Rückgabewert

The name of the currently active database driver.

Verwandte Themen

▾ 2 functions call db_driver()

system_install in modules/system/system.install
Implementation of hook_install().
system_update_7016 in modules/system/system.install
Remove custom datatype *_unsigned in PostgreSQL.

Code

includes/database/database.inc, line 2065

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

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen