public function Connection::clientVersion in Drupal 9
Same name and namespace in other branches
- 8 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 1786
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
public function clientVersion() {
return $this->connection
->getAttribute(\PDO::ATTR_CLIENT_VERSION);
}