public function supportsNativeJson()
    {
        if ($this->_supportsNativeJson !== null) {
            return $this->_supportsNativeJson;
        }

        if ($this->_version === null) {
            $this->_version = $this->_connection->getAttribute(PDO::ATTR_SERVER_VERSION);
        }

        return $this->_supportsNativeJson = version_compare($this->_version, '5.7.0', '>=');
    }
public function supportsNativeJson()
    {
        if ($this->_supportsNativeJson !== null) {
            return $this->_supportsNativeJson;
        }

        if ($this->_version === null) {
            $this->_version = $this->_connection->getAttribute(PDO::ATTR_SERVER_VERSION);
        }

        return $this->_supportsNativeJson = version_compare($this->_version, '5.7.0', '>=');
    }
public function supportsNativeJson ( ) { if ( $ this -> _supportsNativeJson !== null ) { return $ this -> _supportsNativeJson ; } if ( $ this -> _version === null ) { $ this -> _version = $ this -> _connection -> getAttribute ( PDO :: ATTR_SERVER_VERSION ) ; } return $ this -> _supportsNativeJson = version_compare ( $ this -> _version , '5.7.0' , '>=' ) ; }
Returns true if the server supports native JSON columns

@return bool
Returns true if the server supports native JSON columns