Documentation

Driver extends AbstractSQLServerDriver
in package

FinalYes

Abstract base implementation of the {@see Driver} interface for Microsoft SQL Server based drivers.

Table of Contents

Methods

connect()  : Connection
{@inheritDoc}
getDatabasePlatform()  : AbstractPlatform
Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
getExceptionConverter()  : ExceptionConverter
Gets the ExceptionConverter that can be used to convert driver-level exceptions into DBAL exceptions.
getSchemaManager()  : AbstractSchemaManager
Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.
constructDsn()  : string
Constructs the Sqlsrv PDO DSN.
getConnectionOptionsDsn()  : string
Converts a connection options array to the DSN

Methods

connect()

{@inheritDoc}

public connect(array<string|int, mixed> $params) : Connection
Parameters
$params : array<string|int, mixed>
Return values
Connection

constructDsn()

Constructs the Sqlsrv PDO DSN.

private constructDsn(array<string|int, mixed> $params, array<string|int, string> $connectionOptions) : string
Parameters
$params : array<string|int, mixed>
$connectionOptions : array<string|int, string>
Tags
throws
Exception
Return values
string

getConnectionOptionsDsn()

Converts a connection options array to the DSN

private getConnectionOptionsDsn(array<string|int, string> $connectionOptions) : string
Parameters
$connectionOptions : array<string|int, string>
Return values
string

        
On this page

Search results