public function getServerVersion()
    {
        if ($this->client) {
            return $this->client->getServerVersion();
        }

        $connection = new Connection($this->config);
        
        return $connection->getAttribute(\PDO::ATTR_SERVER_VERSION);
    }
public function getServerVersion()
    {
        if ($this->client) {
            return $this->client->getServerVersion();
        }

        $connection = new Connection($this->config);
        
        return $connection->getAttribute(\PDO::ATTR_SERVER_VERSION);
    }
public function getServerVersion ( ) { if ( $ this -> client ) { return $ this -> client -> getServerVersion ( ) ; } $ connection = new Connection ( $ this -> config ) ; return $ connection -> getAttribute ( \ PDO :: ATTR_SERVER_VERSION ) ; }
Get current version of database platform.

@return string|int|null
Get current version of database platform .