package Default

 Methods

Execute

execute(null|array|\Zend\Db\Adapter\ParameterContainer $parameters = null) : \Zend\Db\Adapter\Driver\IbmDb2\Result
inherited_from \Zend\Db\Adapter\Driver\StatementInterface::execute()

Parameters

$parameters

nullarray\Zend\Db\Adapter\ParameterContainer

Returns

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

Get parameter container

getParameterContainer() : mixed

Returns

mixed

getProfiler()

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

Returns

null\Zend\Db\Adapter\Profiler\ProfilerInterface

Get resource

getResource() : resource
inherited_from \Zend\Db\Adapter\Driver\StatementInterface::getResource()

Returns

resource

Get sql

getSql() : mixed

Returns

mixed

initialize()

initialize($resource) : \Zend\Db\Adapter\Driver\IbmDb2\Statement

Parameters

$resource

Returns

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

Check if is prepared

isPrepared() : boolean
inherited_from \Zend\Db\Adapter\Driver\StatementInterface::isPrepared()

Returns

boolean

Prepare sql

prepare(string|null $sql = null) : \Zend\Db\Adapter\Driver\IbmDb2\Statement
inherited_from \Zend\Db\Adapter\Driver\StatementInterface::prepare()

Parameters

$sql

stringnull

Returns

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

setDriver()

setDriver(\Zend\Db\Adapter\Driver\IbmDb2\IbmDb2 $driver) : \Zend\Db\Adapter\Driver\IbmDb2\Statement

Parameters

$driver

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

Returns

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

Set parameter container

setParameterContainer(\Zend\Db\Adapter\ParameterContainer $parameterContainer) : mixed

Parameters

$parameterContainer

\Zend\Db\Adapter\ParameterContainer

Returns

mixed

setProfiler()

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

Parameters

$profiler

\Zend\Db\Adapter\Profiler\ProfilerInterface

Returns

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

setResource()

setResource($resource) 

Parameters

$resource

Exceptions

\Zend\Db\Adapter\Exception\InvalidArgumentException

Set sql

setSql($sql) : mixed

Parameters

$sql

Returns

mixed

 Properties

 

$db2

$db2 : resource

Default

null
 

$driver

$driver : \Zend\Db\Adapter\Driver\IbmDb2\IbmDb2

Default

null
 

$isPrepared

$isPrepared : boolean

Default

false
 

$parameterContainer

$parameterContainer : \Zend\Db\Adapter\ParameterContainer

Default

null
 

$profiler

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

Default

null
 

$resource

$resource : resource

Default

null
 

$sql

$sql : string

Default

''