Methods
Constructor
__construct(resource | array | null $connectionInfo)
Parameters
$connectionInfo
resourcearraynull
Get connection parameters
getConnectionParameters() : array
Inherited
inherited_from |
\Zend\Db\Adapter\Driver\AbstractConnection::getConnectionParameters() |
Returns
array
Get current schema
getCurrentSchema() : null | string
Get driver name
getDriverName() : null | string
Inherited
inherited_from |
\Zend\Db\Adapter\Driver\AbstractConnection::getDriverName() |
Returns
null
string
Get last generated id
getLastGeneratedValue(null $name) : string
Parameters
Returns
string
Get resource
getResource() : resource
Inherited
inherited_from |
\Zend\Db\Adapter\Driver\AbstractConnection::getResource() |
Returns
resource
Checks whether the connection is in transaction state.
inTransaction() : boolean
Inherited
inherited_from |
\Zend\Db\Adapter\Driver\AbstractConnection::inTransaction() |
Returns
boolean
Is connected
isConnected() : bool
setConnectionParameters()
setConnectionParameters(array $connectionParameters) : \Zend\Db\Adapter\Driver\self
Inherited
inherited_from |
\Zend\Db\Adapter\Driver\AbstractConnection::setConnectionParameters() |
Parameters
$connectionParameters
array
Returns
\Zend\Db\Adapter\Driver\self
Set driver
setDriver(\Zend\Db\Adapter\Driver\Pgsql\Pgsql $driver) : \Zend\Db\Adapter\Driver\Pgsql\self
Parameters
Returns
\Zend\Db\Adapter\Driver\Pgsql\self
setProfiler()
setProfiler(\Zend\Db\Adapter\Profiler\ProfilerInterface $profiler) : \Zend\Db\Adapter\Driver\self
Inherited
inherited_from |
\Zend\Db\Adapter\Driver\AbstractConnection::setProfiler() |
Parameters
Returns
\Zend\Db\Adapter\Driver\self
setType()
setType(int | null $type) : \Zend\Db\Adapter\Driver\Pgsql\self
Parameters
$type
intnull
Returns
\Zend\Db\Adapter\Driver\Pgsql\self
Get Connection String
getConnectionString() : string
Properties
$connectionParameters
$connectionParameters : array
Inherited
inherited_from |
\Zend\Db\Adapter\Driver\AbstractConnection::$$connectionParameters |
$driverName
$driverName : string | null
Inherited
inherited_from |
\Zend\Db\Adapter\Driver\AbstractConnection::$$driverName |
$inTransaction
$inTransaction : boolean
Inherited
inherited_from |
\Zend\Db\Adapter\Driver\AbstractConnection::$$inTransaction |
Nested transactions count.
$nestedTransactionsCount : integer
Inherited
inherited_from |
\Zend\Db\Adapter\Driver\AbstractConnection::$$nestedTransactionsCount |
$resource
$resource : resource | null
Inherited
inherited_from |
\Zend\Db\Adapter\Driver\AbstractConnection::$$resource |
<p>PostgreSQL connection type</p>
$type : null | int