package Default

 Methods

Execute

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

Parameters

$parameters

nullarray\Zend\Db\Adapter\ParameterContainer

Exceptions

\Zend\Db\Adapter\Exception\RuntimeException

Returns

\Zend\Db\Adapter\Driver\Sqlsrv\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() : resource
inherited_from \Zend\Db\Adapter\Driver\StatementInterface::getResource()

Returns

resource

Get sql

getSql() : string

Returns

string

One of two resource types will be provided here: a) "SQL Server Connection" when a prepared statement needs to still be produced b) "SQL Server Statement" when a prepared statement has been already produced (there will need to already be a bound param set if it applies to this query)

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

Parameters

$resource

resource

Exceptions

\Zend\Db\Adapter\Exception\InvalidArgumentException

Returns

\Zend\Db\Adapter\Driver\Sqlsrv\Statement

Check if is prepared

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

Returns

boolean

Prepare sql

prepare(string $sql = null, array $options = array()) : \Zend\Db\Adapter\Driver\Sqlsrv\Statement
inherited_from \Zend\Db\Adapter\Driver\StatementInterface::prepare()

Parameters

$sql

string

$options

array

Exceptions

\Zend\Db\Adapter\Exception\RuntimeException

Returns

\Zend\Db\Adapter\Driver\Sqlsrv\Statement

Set driver

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

Parameters

$driver

\Zend\Db\Adapter\Driver\Sqlsrv\Sqlsrv

Returns

\Zend\Db\Adapter\Driver\Sqlsrv\Statement

Set parameter container

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

Parameters

$parameterContainer

\Zend\Db\Adapter\ParameterContainer

Returns

\Zend\Db\Adapter\Driver\Sqlsrv\Statement

setPrepareOptions()

setPrepareOptions(array $prepareOptions) 

Parameters

$prepareOptions

array

setPrepareParams()

setPrepareParams(array $prepareParams) 

Parameters

$prepareParams

array

setProfiler()

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

Parameters

$profiler

\Zend\Db\Adapter\Profiler\ProfilerInterface

Returns

\Zend\Db\Adapter\Driver\Sqlsrv\Statement

setResource()

setResource($resource) : \Zend\Db\Adapter\Driver\Sqlsrv\Statement

Parameters

$resource

Returns

\Zend\Db\Adapter\Driver\Sqlsrv\Statement

setSql()

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

Parameters

$sql

string

Returns

\Zend\Db\Adapter\Driver\Sqlsrv\Statement

Bind parameters from container

bindParametersFromContainer() 

 Properties

 

$driver

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

Default

null
 

$isPrepared

$isPrepared : boolean

Default

false
 

$isQuery

$isQuery : boolean

Default

null
 

$parameterContainer

$parameterContainer : \Zend\Db\Adapter\ParameterContainer

Default

null
 

$parameterReferences

$parameterReferences : array

Default

array()
 

$prepareOptions

$prepareOptions : array

Default

array()
 

$prepareParams

$prepareParams : array

Default

array()
 

$profiler

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

Default

null
 

$resource

$resource : resource

Default

null
 

$sql

$sql : string

Default

null
 

$sqlsrv

$sqlsrv : resource

Default

null