ServerInfoAwareConnection
in
Contract for a connection that is able to provide information about the server it is connected to.
Tags
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.