Zend\Db\Adapter\Driver\Sqlsrv\Sqlsrv
Synopsis
class Sqlsrv
implements
DriverInterface,ProfilerAwareInterface
{
- // members
- protected Connection $connection;
- protected Statement $statementPrototype;
- protected Result $resultPrototype;
- protected ProfilerInterface $profiler;
- // methods
- public void __construct()
- public Sqlsrv setProfiler()
- public ProfilerInterface getProfiler()
- public Sqlsrv registerConnection()
- public Sqlsrv registerStatementPrototype()
- public Sqlsrv registerResultPrototype()
- public string getDatabasePlatformName()
- public void checkEnvironment()
- public Connection getConnection()
- public Statement createStatement()
- public Result createResult()
- public array getPrepareType()
- public string formatParameterName()
- public mixed getLastGeneratedValue()
Hierarchy
Constants
Name | Value |
---|---|
PARAMETERIZATION_POSITIONAL | 'positional' |
PARAMETERIZATION_NAMED | 'named' |
NAME_FORMAT_CAMELCASE | 'camelCase' |
NAME_FORMAT_NATURAL | 'natural' |
Members
protected
- $connection — Zend\Db\Adapter\Driver\Sqlsrv\Connection
- $profiler — Zend\Db\Adapter\Driver\Sqlsrv\null|Profiler\ProfilerInterface
- $resultPrototype — Zend\Db\Adapter\Driver\Sqlsrv\Result
- $statementPrototype — Zend\Db\Adapter\Driver\Sqlsrv\Statement
Methods
public
- __construct()
- checkEnvironment() — Check environment
- createResult()
- createStatement()
- formatParameterName()
- getConnection()
- getDatabasePlatformName() — Get database paltform name
- getLastGeneratedValue()
- getPrepareType()
- getProfiler()
- registerConnection() — Register connection
- registerResultPrototype() — Register result prototype
- registerStatementPrototype() — Register statement prototype
- setProfiler()