function Connection::databaseType

Returns the name of the PDO driver for this connection.

Overrides Connection::databaseType

File

core/lib/Drupal/Core/Database/Driver/mysql/Connection.php, line 549

Class

Connection
MySQL implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\Core\Database\Driver\mysql

Code

public function databaseType() {
  return 'mysql';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.