Documentation

ServerInfoAwareConnection

Contract for a connection that is able to provide information about the server it is connected to.

Tags
author

Steve Müller st.mueller@dzh-online.de

link
www.doctrine-project.org
since
2.5

Table of Contents

getServerVersion()  : string
Returns the version number of the database server connected to.
requiresQueryForServerVersion()  : bool
Checks whether a query is required to retrieve the database server version.

Methods

getServerVersion()

Returns the version number of the database server connected to.

public getServerVersion() : string
Return values
string

requiresQueryForServerVersion()

Checks whether a query is required to retrieve the database server version.

public requiresQueryForServerVersion() : bool
Return values
bool

True if a query is required to retrieve the database server version, false otherwise.

Search results