package Default

 Methods

Disconnect

disconnect() 
inherited_from \Zend\Db\Adapter\Driver\ConnectionInterface::disconnect()

Get connection parameters

getConnectionParameters() : array

Returns

array

Get driver name

getDriverName() : null | string

Returns

nullstring

getProfiler()

getProfiler() : null | \Zend\Db\Adapter\Profiler\ProfilerInterface

Returns

null\Zend\Db\Adapter\Profiler\ProfilerInterface

Get resource

getResource() : resource
inherited_from \Zend\Db\Adapter\Driver\ConnectionInterface::getResource()

Returns

resource

Checks whether the connection is in transaction state.

inTransaction() : boolean

Returns

boolean

setConnectionParameters()

setConnectionParameters(array $connectionParameters) : \Zend\Db\Adapter\Driver\AbstractConnection
fluent This method is part of a fluent interface and will return the same instance

Parameters

$connectionParameters

array

Returns

\Zend\Db\Adapter\Driver\AbstractConnection

setProfiler()

setProfiler(\Zend\Db\Adapter\Profiler\ProfilerInterface $profiler) : \Zend\Db\Adapter\Driver\AbstractConnection
inherited_from \Zend\Db\Adapter\Profiler\ProfilerAwareInterface::setProfiler()
fluent This method is part of a fluent interface and will return the same instance

Parameters

$profiler

Returns

\Zend\Db\Adapter\Driver\AbstractConnection

 Properties

 

$connectionParameters

$connectionParameters : array

Default

array()
 

$driverName

$driverName : string | null

Default

 

$inTransaction

$inTransaction : boolean

Default

false
 

Nested transactions count.

$nestedTransactionsCount : integer

Default

0
 

$profiler

$profiler : \Zend\Db\Adapter\Profiler\ProfilerInterface | null

Default

 

$resource

$resource : resource | null

Default