Zend\Db\Adapter\Driver\Sqlsrv\Statement
Synopsis
class Statement
implements
StatementInterface,ProfilerAwareInterface
{
- // members
- protected resource $sqlsrv;
- protected Sqlsrv $driver;
- protected ProfilerInterface $profiler;
- protected string $sql;
- protected bool $isQuery;
- protected array $parameterReferences;
- protected ParameterContainer $parameterContainer;
- protected resource $resource;
- protected bool $isPrepared;
- // methods
- public Statement setDriver()
- public Statement setProfiler()
- public ProfilerInterface getProfiler()
- public Statement initialize()
- public Statement setParameterContainer()
- public ParameterContainer getParameterContainer()
- public Statement setResource()
- public resource getResource()
- public Statement setSql()
- public string getSql()
- public Statement prepare()
- public bool isPrepared()
- public Result execute()
- protected void bindParametersFromContainer()
Hierarchy
Implements
Members
protected
- $driver — Zend\Db\Adapter\Driver\Sqlsrv\Sqlsrv
- $isPrepared — Zend\Db\Adapter\Driver\Sqlsrv\bool
- $isQuery — Zend\Db\Adapter\Driver\Sqlsrv\bool
- $parameterContainer — Zend\Db\Adapter\ParameterContainer
- $parameterReferences — array
- $profiler — Zend\Db\Adapter\Driver\Sqlsrv\Profiler\ProfilerInterface
- $resource — resource
- $sql — string
- $sqlsrv — resource
Methods
protected
- bindParametersFromContainer() — Bind parameters from container
public
- execute() — Execute
- getParameterContainer()
- getProfiler()
- getResource() — Get resource
- getSql() — Get sql
- initialize() — 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)
- isPrepared()
- prepare()
- setDriver() — Set driver
- setParameterContainer() — Set parameter container
- setProfiler()
- setResource()
- setSql()