Documentation

AbstractConnectionMiddleware
in package
implements ServerInfoAwareConnection

AbstractYes

Table of Contents

Interfaces

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

Properties

$wrappedConnection  : Connection

Methods

__construct()  : mixed
beginTransaction()  : mixed
{@inheritDoc}
commit()  : mixed
{@inheritDoc}
exec()  : int
getNativeConnection()  : resource|object
getServerVersion()  : string
Returns information about the version of the database server connected to.
lastInsertId()  : mixed
{@inheritDoc}
prepare()  : Statement
query()  : Result
quote()  : mixed
{@inheritDoc}
rollBack()  : mixed
{@inheritDoc}

Properties

Methods

getServerVersion()

Returns information about the version of the database server connected to.

public getServerVersion() : string
Return values
string

quote()

{@inheritDoc}

public quote(mixed $value[, mixed $type = ParameterType::STRING ]) : mixed
Parameters
$value : mixed
$type : mixed = ParameterType::STRING

        
On this page

Search results