package Default

 Methods

Constructor

__construct(array|\Zend\Db\Adapter\Driver\Pgsql\Connection|resource $connection, null|\Zend\Db\Adapter\Driver\Pgsql\Statement $statementPrototype = null, null|\Zend\Db\Adapter\Driver\Pgsql\Result $resultPrototype = null, array $options = null

Parameters

$connection

array\Zend\Db\Adapter\Driver\Pgsql\Connectionresource

$statementPrototype

null\Zend\Db\Adapter\Driver\Pgsql\Statement

$resultPrototype

null\Zend\Db\Adapter\Driver\Pgsql\Result

$options

array

Check environment

checkEnvironment() : boolean
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::checkEnvironment()

Exceptions

\Zend\Db\Adapter\Exception\RuntimeException

Returns

boolean

Create result

createResult(resource $resource) : \Zend\Db\Adapter\Driver\Pgsql\Result
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::createResult()

Parameters

$resource

resource

Returns

\Zend\Db\Adapter\Driver\Pgsql\Result

Create statement

createStatement(string|null $sqlOrResource = null) : \Zend\Db\Adapter\Driver\Pgsql\Statement
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::createStatement()

Parameters

$sqlOrResource

stringnull

Returns

\Zend\Db\Adapter\Driver\Pgsql\Statement

Format parameter name

formatParameterName(string $name, mixed $type = null) : string
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::formatParameterName()

Parameters

$name

string

$type

mixed

Returns

string

Get connection

getConnection() : \Zend\Db\Adapter\Driver\Pgsql\Connection
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::getConnection()

Returns

\Zend\Db\Adapter\Driver\Pgsql\Connection

Get database platform name

getDatabasePlatformName(string $nameFormat = self::NAME_FORMAT_CAMELCASE) : string
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::getDatabasePlatformName()

Parameters

$nameFormat

string

Returns

string

Get last generated value

getLastGeneratedValue(string $name = null) : mixed
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::getLastGeneratedValue()

Parameters

$name

string

Returns

mixed

Get prepare Type

getPrepareType() : array
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::getPrepareType()

Returns

array

getProfiler()

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

Returns

null\Zend\Db\Adapter\Profiler\ProfilerInterface

Register connection

registerConnection(\Zend\Db\Adapter\Driver\Pgsql\Connection $connection) : \Zend\Db\Adapter\Driver\Pgsql\Pgsql

Parameters

$connection

\Zend\Db\Adapter\Driver\Pgsql\Connection

Returns

\Zend\Db\Adapter\Driver\Pgsql\Pgsql

Register result prototype

registerResultPrototype(\Zend\Db\Adapter\Driver\Pgsql\Result $result) : \Zend\Db\Adapter\Driver\Pgsql\Pgsql

Parameters

$result

\Zend\Db\Adapter\Driver\Pgsql\Result

Returns

\Zend\Db\Adapter\Driver\Pgsql\Pgsql

Register statement prototype

registerStatementPrototype(\Zend\Db\Adapter\Driver\Pgsql\Statement $statement) : \Zend\Db\Adapter\Driver\Pgsql\Pgsql

Parameters

$statement

\Zend\Db\Adapter\Driver\Pgsql\Statement

Returns

\Zend\Db\Adapter\Driver\Pgsql\Pgsql

setProfiler()

setProfiler(\Zend\Db\Adapter\Profiler\ProfilerInterface $profiler) 
inherited_from \Zend\Db\Adapter\Profiler\ProfilerAwareInterface::setProfiler()

Parameters

$profiler

 Properties

 

$connection

$connection : \Zend\Db\Adapter\Driver\Pgsql\Connection

Default

null
 

$options

$options : array

Default

array('buffer_results' => false)
 

$profiler

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

Default

null
 

$resultPrototype

$resultPrototype : \Zend\Db\Adapter\Driver\Pgsql\Result

Default

null
 

$statementPrototype

$statementPrototype : \Zend\Db\Adapter\Driver\Pgsql\Statement

Default

null