function Connection::databaseType

Returns the name of the database engine accessed by this driver.

Return value

string

Overrides Connection::databaseType

File

core/modules/mysql/src/Driver/Database/mysql/Connection.php, line 313

Class

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

Namespace

Drupal\mysql\Driver\Database\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.