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); }
Please login to continue.