class SQLSrvConnection implements Connection (View source)

SQL Server implementation for the Connection interface.

Properties

protected resource $conn
protected LastInsertId $lastInsertId

Methods

__construct($serverName, $connectionOptions)

No description

prepare($sql)

No description

query()

No description

quote($value, $type = \PDO::PARAM_STR)

No description

exec($statement)

No description

lastInsertId($name = null)

No description

beginTransaction()

No description

commit()

No description

rollBack()

No description

errorCode()

No description

errorInfo()

No description

Details

__construct($serverName, $connectionOptions)

Parameters

$serverName
$connectionOptions

prepare($sql)

Parameters

$sql

query()

quote($value, $type = \PDO::PARAM_STR)

Parameters

$value
$type

exec($statement)

Parameters

$statement

lastInsertId($name = null)

Parameters

$name

beginTransaction()

commit()

rollBack()

errorCode()

errorInfo()