Class Statement

Summary

Fully Qualified Name: Zend\Db\Adapter\Driver\IbmDb2\Statement
Implements: StatementInterface, ProfilerAwareInterface

Description

Methods

Name Description Defined By
execute() Execute Statement
getParameterContainer() Get parameter container Statement
getProfiler() Statement
getResource() Get resource Statement
getSql() Get sql Statement
initialize() Statement
isPrepared() Check if is prepared Statement
prepare() Prepare sql Statement
setDriver() Statement
setParameterContainer() Set parameter container Statement
setProfiler() Statement
setResource() Statement
setSql() Set sql Statement

Method Details

execute()

Execute

Parameter Name Type Description
$parameters null|array|\ParameterContainer

Returns: \Result

getParameterContainer()

Get parameter container

Returns: mixed

getProfiler()

Returns: null|\Profiler\ProfilerInterface

getResource()

Get resource

Returns: resource

getSql()

Get sql

Returns: mixed

initialize()

Parameter Name Type Description
$resource
$resource

Returns: self Provides a fluent interface

isPrepared()

Check if is prepared

Returns: bool

prepare()

Prepare sql

Parameter Name Type Description
$sql string|null

Returns: self Provides a fluent interface

setDriver()

Parameter Name Type Description
$driver \IbmDb2

Returns: self Provides a fluent interface

setParameterContainer()

Set parameter container

Parameter Name Type Description
$parameterContainer \ParameterContainer

Returns: self Provides a fluent interface

setProfiler()

Parameter Name Type Description
$profiler \Profiler\ProfilerInterface

Returns: self Provides a fluent interface

setResource()

Parameter Name Type Description
$resource
$resource

Returns:

setSql()

Set sql

Parameter Name Type Description
$sql
$sql

Returns: self Provides a fluent interface

Top