Property | Type | Description | |
---|---|---|---|
$reconnectAttempts | integer |
Method | Description | |
---|---|---|
__construct ( array $params, Doctrine\DBAL\Driver $driver, Doctrine\DBAL\Configuration $config = null, Doctrine\Common\EventManager $eventManager = null ) | ||
beginTransaction ( ) : void | ||
canTryAgain ( $attempt, boolean $ignoreTransactionLevel = false ) : boolean | ||
executeQuery ( string $query, array $params = [], array $types = [], Doctrine\DBAL\Cache\QueryCacheProfile $qcp = null ) : Doctrine\DBAL\Driver\Statement | ||
executeUpdate ( string $query, array $params = [], array $types = [] ) : integer | ||
isRetryableException ( Exception $e, string | null $query = null ) : boolean | ||
isUpdateQuery ( string $query ) : boolean | ||
prepare ( $sql ) : |
||
prepareUnwrapped ( $sql ) | do not use, only used by Statement-class needs to be public for access from the Statement-class. | |
query ( ) : Doctrine\DBAL\Driver\Statement | ||
refresh ( ) | Forces reconnection by doing a dummy query. |
Method | Description | |
---|---|---|
prepareWrapped ( $sql ) : |
returns a reconnect-wrapper for Statements. |
Method | Description | |
---|---|---|
resetTransactionNestingLevel ( ) | This is required because beginTransaction increment _transactionNestingLevel before the real query is executed, and results incremented also on gone away error. |
public __construct ( array $params, Doctrine\DBAL\Driver $driver, Doctrine\DBAL\Configuration $config = null, Doctrine\Common\EventManager $eventManager = null ) | ||
$params | array | |
$driver | Doctrine\DBAL\Driver | |
$config | Doctrine\DBAL\Configuration | |
$eventManager | Doctrine\Common\EventManager |
public canTryAgain ( $attempt, boolean $ignoreTransactionLevel = false ) : boolean | ||
$attempt | ||
$ignoreTransactionLevel | boolean | |
return | boolean |
public executeQuery ( string $query, array $params = [], array $types = [], Doctrine\DBAL\Cache\QueryCacheProfile $qcp = null ) : Doctrine\DBAL\Driver\Statement | ||
$query | string | |
$params | array | |
$types | array | |
$qcp | Doctrine\DBAL\Cache\QueryCacheProfile | |
return | Doctrine\DBAL\Driver\Statement | The executed statement. |
public isUpdateQuery ( string $query ) : boolean | ||
$query | string | |
return | boolean |
public prepareUnwrapped ( $sql ) |
protected prepareWrapped ( $sql ) : |
||
$sql | ||
return |
public query ( ) : Doctrine\DBAL\Driver\Statement | ||
return | Doctrine\DBAL\Driver\Statement |