Documentation

Connection extends AbstractConnectionMiddleware
in package

FinalYes

Table of Contents

Properties

$logger  : LoggerInterface
$wrappedConnection  : Connection

Methods

__construct()  : mixed
__destruct()  : 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

beginTransaction()

{@inheritDoc}

public beginTransaction() : mixed

exec()

public exec(string $sql) : int
Parameters
$sql : string
Return values
int

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

rollBack()

{@inheritDoc}

public rollBack() : mixed

        
On this page

Search results