Class Pgsql

Summary

Fully Qualified Name: Zend\Db\Adapter\Driver\Pgsql\Pgsql
Implements: DriverInterface, ProfilerAwareInterface

Description

Methods

Name Description Defined By
__construct() Constructor Pgsql
checkEnvironment() Check environment Pgsql
createResult() Create result Pgsql
createStatement() Create statement Pgsql
formatParameterName() Format parameter name Pgsql
getConnection() Get connection Pgsql
getDatabasePlatformName() Get database platform name Pgsql
getLastGeneratedValue() Get last generated value Pgsql
getPrepareType() Get prepare Type Pgsql
getProfiler() Pgsql
registerConnection() Register connection Pgsql
registerResultPrototype() Register result prototype Pgsql
registerStatementPrototype() Register statement prototype Pgsql
setProfiler() Pgsql

Method Details

__construct()

Constructor

Parameter Name Type Description
$connection array|\Connection|resource
$statementPrototype null|\Statement
$resultPrototype null|\Result
$options array

Returns:

checkEnvironment()

Check environment

Returns: bool

createResult()

Create result

Parameter Name Type Description
$resource resource

Returns: \Result

createStatement()

Create statement

Parameter Name Type Description
$sqlOrResource string|null

Returns: \Statement

formatParameterName()

Format parameter name

Parameter Name Type Description
$name string
$type mixed

Returns: string

getConnection()

Get connection

Returns: \Connection

getDatabasePlatformName()

Get database platform name

Parameter Name Type Description
$nameFormat string

Returns: string

getLastGeneratedValue()

Get last generated value

Parameter Name Type Description
$name string

Returns: mixed

getPrepareType()

Get prepare Type

Returns: string

getProfiler()

Returns: null|\Profiler\ProfilerInterface

registerConnection()

Register connection

Parameter Name Type Description
$connection \Connection

Returns: self Provides a fluent interface

registerResultPrototype()

Register result prototype

Parameter Name Type Description
$result \Result

Returns: self Provides a fluent interface

registerStatementPrototype()

Register statement prototype

Parameter Name Type Description
$statement \Statement

Returns: self Provides a fluent interface

setProfiler()

Parameter Name Type Description
$profiler \Profiler\ProfilerInterface

Returns: self Provides a fluent interface

Top