category Zend
package Zend_Db
subpackage Adapter

 Methods

__construct()

__construct(array | \Zend\Db\Adapter\Driver\Sqlsrv\Connection | resource $connection, \Zend\Db\Adapter\Driver\Sqlsrv\Statement $statementPrototype, \Zend\Db\Adapter\Driver\Sqlsrv\Result $resultPrototype) 

Parameters

Check environment

checkEnvironment() : void

Create result

createResult(resource $resource) : \Zend\Db\Adapter\Driver\Sqlsrv\Result

Parameters

$resource

resource

Returns

Create statement

createStatement(string | resource $sqlOrResource) : \Zend\Db\Adapter\Driver\Sqlsrv\Statement

Parameters

$sqlOrResource

stringresource

Returns

Format parameter name

formatParameterName(string $name, mixed $type) : string

Parameters

$name

string

$type

mixed

Returns

string

Get database paltform name

getDatabasePlatformName(string $nameFormat) : string

Parameters

$nameFormat

string

Returns

string

Get last generated value

getLastGeneratedValue() : mixed

Returns

mixed

Get prepare type

getPrepareType() : array

Returns

array

Register connection

registerConnection(\Zend\Db\Adapter\Driver\Sqlsrv\Connection $connection) : \Zend\Db\Adapter\Driver\Sqlsrv\Sqlsrv

Register result prototype

registerResultPrototype(\Zend\Db\Adapter\Driver\Sqlsrv\Result $resultPrototype) : \Zend\Db\Adapter\Driver\Sqlsrv\Sqlsrv

Register statement prototype

registerStatementPrototype(\Zend\Db\Adapter\Driver\Sqlsrv\Statement $statementPrototype) : \Zend\Db\Adapter\Driver\Sqlsrv\Sqlsrv

 Properties

 

$connection

$connection : \Zend\Db\Adapter\Driver\Sqlsrv\Connection

 

$resultPrototype

$resultPrototype : \Zend\Db\Adapter\Driver\Sqlsrv\Result

 

$statementPrototype

$statementPrototype : \Zend\Db\Adapter\Driver\Sqlsrv\Statement

 Constants

 

NAME_FORMAT_CAMELCASE

NAME_FORMAT_CAMELCASE 
Inherited

inherited_from \Zend\Db\Adapter\Driver\DriverInterface::NAME_FORMAT_CAMELCASE
 

NAME_FORMAT_NATURAL

NAME_FORMAT_NATURAL 
Inherited

inherited_from \Zend\Db\Adapter\Driver\DriverInterface::NAME_FORMAT_NATURAL
 

PARAMETERIZATION_NAMED

PARAMETERIZATION_NAMED 
Inherited

inherited_from \Zend\Db\Adapter\Driver\DriverInterface::PARAMETERIZATION_NAMED
 

PARAMETERIZATION_POSITIONAL

PARAMETERIZATION_POSITIONAL 
Inherited

inherited_from \Zend\Db\Adapter\Driver\DriverInterface::PARAMETERIZATION_POSITIONAL