Class Sqlsrv

Summary

Fully Qualified Name: Laminas\Db\Adapter\Driver\Sqlsrv\Sqlsrv
Implements: DriverInterface, ProfilerAwareInterface

Description

Methods

Name Description Defined By
__construct() Sqlsrv
checkEnvironment() Check environment Sqlsrv
createResult() Sqlsrv
createStatement() Sqlsrv
formatParameterName() Sqlsrv
getConnection() Sqlsrv
getDatabasePlatformName() Get database paltform name Sqlsrv
getLastGeneratedValue() Sqlsrv
getPrepareType() Sqlsrv
getProfiler() Sqlsrv
registerConnection() Register connection Sqlsrv
registerResultPrototype() Register result prototype Sqlsrv
registerStatementPrototype() Register statement prototype Sqlsrv
setProfiler() Sqlsrv

Method Details

__construct()

Parameter Name Type Description
$connection array|\Connection|resource
$statementPrototype null|\Statement
$resultPrototype null|\Result

Returns:

checkEnvironment()

Check environment

Returns: void

createResult()

Parameter Name Type Description
$resource resource

Returns: \Result

createStatement()

Parameter Name Type Description
$sqlOrResource string|resource

Returns: \Statement

formatParameterName()

Parameter Name Type Description
$name string
$type mixed

Returns: string

getConnection()

Returns: \Connection

getDatabasePlatformName()

Get database paltform name

Parameter Name Type Description
$nameFormat string

Returns: string

getLastGeneratedValue()

Returns: mixed

getPrepareType()

Returns: string

getProfiler()

Returns: null|\Profiler\ProfilerInterface

registerConnection()

Register connection

Parameter Name Type Description
$connection \Connection

Returns: self Provides a fluent interface

registerResultPrototype()

Register result prototype

Parameter Name Type Description
$resultPrototype \Result

Returns: self Provides a fluent interface

registerStatementPrototype()

Register statement prototype

Parameter Name Type Description
$statementPrototype \Statement

Returns: self Provides a fluent interface

setProfiler()

Parameter Name Type Description
$profiler \Profiler\ProfilerInterface

Returns: self Provides a fluent interface

Top