public function 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\DatabaseCode
public function version() { return $this->connection->getAttribute(\PDO::ATTR_SERVER_VERSION); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Connection.php/function/Connection::version/8.1.x