DriverConnection implements Connection, ServerInfoAwareConnection

This is a full "clone" of the class of package doctrine/dbal. Scope is to use instanatiate TYPO3's DriverResult and DriverStatement objects instead of Doctrine's native implementation.

Internal

this implementation is not part of TYPO3's Public API.

Table of Contents

Interfaces

Connection
ServerInfoAwareConnection

Properties

$connection  : PDO
$doctrineDbalPDOConnection  : Connection

Methods

__construct()  : mixed
beginTransaction()  : bool
commit()  : bool
exec()  : int
getServerVersion()  : mixed
getWrappedConnection()  : PDO
lastInsertId()  : mixed
prepare()  : Statement
query()  : Result
quote()  : mixed
rollBack()  : bool

Properties

$doctrineDbalPDOConnection

protected Connection $doctrineDbalPDOConnection

Methods

__construct()

public __construct(PDO $connection) : mixed
Parameters
$connection : PDO

beginTransaction()

public beginTransaction() : bool
Return values
bool

commit()

public commit() : bool
Return values
bool

exec()

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

getServerVersion()

public getServerVersion() : mixed

getWrappedConnection()

public getWrappedConnection() : PDO
Return values
PDO

lastInsertId()

public lastInsertId([mixed $name = null ]) : mixed
Parameters
$name : mixed = null

prepare()

public prepare(string $sql) : Statement
Parameters
$sql : string
Return values
Statement

query()

public query(string $sql) : Result
Parameters
$sql : string
Return values
Result

quote()

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

rollBack()

public rollBack() : bool
Return values
bool

        
On this page

Search results