Connection::$serverVersion

Same name in other branches
  1. 9 core/modules/mysql/src/Driver/Database/mysql/Connection.php \Drupal\mysql\Driver\Database\mysql\Connection::serverVersion
  2. 11.x core/modules/mysql/src/Driver/Database/mysql/Connection.php \Drupal\mysql\Driver\Database\mysql\Connection::serverVersion

Stores the server version after it has been retrieved from the database.

Type: string

See also

\Drupal\mysql\Driver\Database\mysql\Connection::version

File

core/modules/mysql/src/Driver/Database/mysql/Connection.php, line 65

Class

Connection
MySQL implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\mysql\Driver\Database\mysql

Code

private $serverVersion;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.