package Default

 Methods

__construct()

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

Parameters

$connection

array\Zend\Db\Adapter\Driver\IbmDb2\Connectionresource

$statementPrototype

null\Zend\Db\Adapter\Driver\IbmDb2\Statement

$resultPrototype

null\Zend\Db\Adapter\Driver\IbmDb2\Result

Check environment

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

Returns

boolean

Create result

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

Parameters

$resource

resource

Returns

\Zend\Db\Adapter\Driver\IbmDb2\Result

Create statement

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

Parameters

$sqlOrResource

stringresource

Returns

\Zend\Db\Adapter\Driver\IbmDb2\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\IbmDb2\Connection
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::getConnection()

Returns

\Zend\Db\Adapter\Driver\IbmDb2\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() : mixed
inherited_from \Zend\Db\Adapter\Driver\DriverInterface::getLastGeneratedValue()

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

registerConnection()

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

Parameters

$connection

\Zend\Db\Adapter\Driver\IbmDb2\Connection

Returns

\Zend\Db\Adapter\Driver\IbmDb2\IbmDb2

registerResultPrototype()

registerResultPrototype(\Zend\Db\Adapter\Driver\IbmDb2\Result $resultPrototype) : \Zend\Db\Adapter\Driver\IbmDb2\IbmDb2

Parameters

$resultPrototype

\Zend\Db\Adapter\Driver\IbmDb2\Result

Returns

\Zend\Db\Adapter\Driver\IbmDb2\IbmDb2

registerStatementPrototype()

registerStatementPrototype(\Zend\Db\Adapter\Driver\IbmDb2\Statement $statementPrototype) : \Zend\Db\Adapter\Driver\IbmDb2\IbmDb2

Parameters

$statementPrototype

\Zend\Db\Adapter\Driver\IbmDb2\Statement

Returns

\Zend\Db\Adapter\Driver\IbmDb2\IbmDb2

setProfiler()

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

Parameters

$profiler

\Zend\Db\Adapter\Profiler\ProfilerInterface

Returns

\Zend\Db\Adapter\Driver\IbmDb2\IbmDb2

 Properties

 

$connection

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

Default

 

$profiler

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

Default

 

$resultPrototype

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

Default

 

$statementPrototype

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

Default