Methods

Constructor

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

Parameters

$connection

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

$statementPrototype

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

$options

array

Check environment

checkEnvironment() : bool

Create result

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

Parameters

$resource

resource

Returns

Create statement

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

Parameters

$sqlOrResource

stringnull

Returns

Format parameter name

formatParameterName(string $name, mixed $type) : string

Parameters

$name

string

$type

mixed

Returns

string

Get database platform name

getDatabasePlatformName(string $nameFormat) : string

Parameters

$nameFormat

string

Returns

string

Get last generated value

getLastGeneratedValue() : mixed

Returns

mixed

Get prepare Type

getPrepareType() : array

Returns

array

Register connection

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

Register result prototype

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

Register statement prototype

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

setProfiler()

setProfiler(\Zend\Db\Adapter\Profiler\ProfilerInterface $profiler) 

Parameters

$profiler

 Properties

 

$connection

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

 

$options

$options : array

 

$profiler

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

 

$resultPrototype

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

 

$statementPrototype

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

 Constants

 

NAME_FORMAT_CAMELCASE

NAME_FORMAT_CAMELCASE 
Inherited

inherited_from \Zend\Db\Adapter\Driver\DriverInterface::NAME_FORMAT_CAMELCASE
 

NAME_FORMAT_NATURAL

NAME_FORMAT_NATURAL 
Inherited

inherited_from \Zend\Db\Adapter\Driver\DriverInterface::NAME_FORMAT_NATURAL
 

PARAMETERIZATION_NAMED

PARAMETERIZATION_NAMED 
Inherited

inherited_from \Zend\Db\Adapter\Driver\DriverInterface::PARAMETERIZATION_NAMED
 

PARAMETERIZATION_POSITIONAL

PARAMETERIZATION_POSITIONAL 
Inherited

inherited_from \Zend\Db\Adapter\Driver\DriverInterface::PARAMETERIZATION_POSITIONAL