Class Statement

Summary

Fully Qualified Name: Laminas\Db\Adapter\Driver\Pgsql\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() Initialize Statement
isPrepared() Is prepared Statement
prepare() Prepare Statement
setDriver() Statement
setParameterContainer() Set parameter container Statement
setProfiler() Statement
setSql() Set sql Statement

Method Details

execute()

Execute

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

Returns: \Result

getParameterContainer()

Get parameter container

Returns: \ParameterContainer

getProfiler()

Returns: null|\Profiler\ProfilerInterface

getResource()

Get resource

Returns: resource

getSql()

Get sql

Returns: string

initialize()

Initialize

Parameter Name Type Description
$pgsql resource

Returns: void

isPrepared()

Is prepared

Returns: bool

prepare()

Prepare

Parameter Name Type Description
$sql string

Returns:

setDriver()

Parameter Name Type Description
$driver \Pgsql

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

setSql()

Set sql

Parameter Name Type Description
$sql string

Returns: self Provides a fluent interface

Top