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.
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
$connection
        protected
            PDO
    $connection
    
    
    
    
    
    
$doctrineDbalPDOConnection
        protected
            Connection
    $doctrineDbalPDOConnection
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(PDO $connection) : mixed
    Parameters
- $connection : PDO
beginTransaction()
    public
                    beginTransaction() : bool
    Return values
boolcommit()
    public
                    commit() : bool
    Return values
boolexec()
    public
                    exec(string $sql) : int
    Parameters
- $sql : string
Return values
intgetServerVersion()
    public
                    getServerVersion() : mixed
    getWrappedConnection()
    public
                    getWrappedConnection() : PDO
    Return values
PDOlastInsertId()
    public
                    lastInsertId([mixed $name = null ]) : mixed
    Parameters
- $name : mixed = null
prepare()
    public
                    prepare(string $sql) : Statement
    Parameters
- $sql : string
Return values
Statementquery()
    public
                    query(string $sql) : Result
    Parameters
- $sql : string
Return values
Resultquote()
    public
                    quote(mixed $value[, mixed $type = ParameterType::STRING ]) : mixed
    Parameters
- $value : mixed
- $type : mixed = ParameterType::STRING
rollBack()
    public
                    rollBack() : bool