Connection::$serverVersion

Same name and namespace in other branches
  1. 9 core/modules/mysql/src/Driver/Database/mysql/Connection.php \Drupal\mysql\Driver\Database\mysql\Connection::serverVersion
  2. 10 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 51

Class

Connection
MySQL implementation of <a href="/api/drupal/core%21lib%21Drupal%21Core%21Database%21Connection.php/class/Connection/11.x" title="Base Database API class." class="local">\Drupal\Core\Database\Connection</a>.

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.