You are here

public function Connection::clientVersion in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::clientVersion()

Returns the version of the database client.

File

core/lib/Drupal/Core/Database/Connection.php, line 1284
Contains \Drupal\Core\Database\Connection.

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function clientVersion() {
  return $this->connection
    ->getAttribute(\PDO::ATTR_CLIENT_VERSION);
}