Connection::version

public Connection::version()

Returns the version of the database server.

File

core/lib/Drupal/Core/Database/Connection.php, line 1269

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function version() {
  return $this->connection->getAttribute(\PDO::ATTR_SERVER_VERSION);
}
doc_Drupal
2016-10-29 08:56:05
Comments
Leave a Comment

Please login to continue.