function Connection::databaseType
Returns the name of the PDO driver for this connection.
5 methods override Connection::databaseType()
- Connection::databaseType in core/
tests/ fixtures/ database_drivers/ custom/ fake/ Connection.php - Returns the name of the PDO driver for this connection.
- Connection::databaseType in core/
lib/ Drupal/ Core/ Database/ Driver/ sqlite/ Connection.php - Returns the name of the PDO driver for this connection.
- Connection::databaseType in core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Connection.php - Returns the name of the PDO driver for this connection.
- Connection::databaseType in core/
lib/ Drupal/ Core/ Database/ Driver/ pgsql/ Connection.php - Returns the name of the PDO driver for this connection.
- StubConnection::databaseType in core/
tests/ Drupal/ Tests/ Core/ Database/ Stub/ StubConnection.php - Returns the name of the PDO driver for this connection.
File
-
core/
lib/ Drupal/ Core/ Database/ Connection.php, line 1435
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
abstract public function databaseType();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.