mediatekformation

Connection
in package
implements ServerInfoAwareConnection

Interfaces, Classes, Traits and Enums

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

Table of Contents

$connection  : resource
$executionMode  : ExecutionMode
$parser  : Parser
beginTransaction()  : bool
commit()  : bool
exec()  : int
getServerVersion()  : string
Returns the version number of the database server connected to.
lastInsertId()  : int|false
{@inheritdoc}
prepare()  : Statement
query()  : Result
quote()  : mixed
{@inheritdoc}
rollBack()  : bool

Properties

$executionMode

private ExecutionMode $executionMode

Methods

beginTransaction()

public beginTransaction() : bool
Return values
bool

commit()

public commit() : bool
Return values
bool

getServerVersion()

Returns the version number of the database server connected to.

public getServerVersion() : string
Return values
string

lastInsertId()

{@inheritdoc}

public lastInsertId([string|null $name = null ]) : int|false
Parameters
$name : string|null = null
Tags
throws
Exception
Return values
int|false

quote()

{@inheritdoc}

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

rollBack()

public rollBack() : bool
Return values
bool

Search results