package Default

 Methods

Perform a deep clone

__clone() : \Zend\Db\Adapter\Driver\Pdo\Statement

Returns

\Zend\Db\Adapter\Driver\Pdo\StatementA cloned statement

Execute

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

Parameters

$parameters

nullarray\Zend\Db\Adapter\ParameterContainer

Exceptions

\Zend\Db\Adapter\Exception\InvalidQueryException

Returns

\Zend\Db\Adapter\Driver\Pdo\Result

getParameterContainer()

getParameterContainer() : \Zend\Db\Adapter\ParameterContainer

Returns

\Zend\Db\Adapter\ParameterContainer

getProfiler()

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

Returns

null\Zend\Db\Adapter\Profiler\ProfilerInterface

Get resource

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

Returns

mixed

Get sql

getSql() : string

Returns

string

Initialize

initialize(\PDO $connectionResource) : \Zend\Db\Adapter\Driver\Pdo\Statement

Parameters

$connectionResource

\PDO

Returns

\Zend\Db\Adapter\Driver\Pdo\Statement

Check if is prepared

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

Returns

boolean

Prepare sql

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

Parameters

$sql

string

Exceptions

\Zend\Db\Adapter\Exception\RuntimeException

Set driver

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

Parameters

$driver

\Zend\Db\Adapter\Driver\Pdo\Pdo

Returns

\Zend\Db\Adapter\Driver\Pdo\Statement

setParameterContainer()

setParameterContainer(\Zend\Db\Adapter\ParameterContainer $parameterContainer) : \Zend\Db\Adapter\Driver\Pdo\Statement

Parameters

$parameterContainer

\Zend\Db\Adapter\ParameterContainer

Returns

\Zend\Db\Adapter\Driver\Pdo\Statement

setProfiler()

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

Parameters

$profiler

\Zend\Db\Adapter\Profiler\ProfilerInterface

Returns

\Zend\Db\Adapter\Driver\Pdo\Statement

Set resource

setResource(\PDOStatement $pdoStatement) : \Zend\Db\Adapter\Driver\Pdo\Statement

Parameters

$pdoStatement

\PDOStatement

Returns

\Zend\Db\Adapter\Driver\Pdo\Statement

Set sql

setSql(string $sql) : \Zend\Db\Adapter\Driver\Pdo\Statement

Parameters

$sql

string

Returns

\Zend\Db\Adapter\Driver\Pdo\Statement

Bind parameters from container

bindParametersFromContainer() 

 Properties

 

$driver

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

Default

null
 

$isPrepared

$isPrepared : boolean

Default

false
 

$isQuery

$isQuery : boolean

Default

null
 

$parameterContainer

$parameterContainer : \Zend\Db\Adapter\ParameterContainer

Default

null
 

$parametersBound

$parametersBound : boolean

Default

false
 

$pdo

$pdo : \PDO

Default

null
 

$profiler

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

Default

null
 

$resource

$resource : \PDOStatement

Default

null
 

$sql

$sql : string

Default

''