Documentation

AbstractSQLServerDriver
in package
implements Driver, VersionAwarePlatformDriver

Abstract base implementation of the {@link Doctrine\DBAL\Driver} interface for Microsoft SQL Server based drivers.

Tags
author

Steve Müller st.mueller@dzh-online.de

link
www.doctrine-project.org
since
2.5

Interfaces, Classes and Traits

Driver
Driver interface.
VersionAwarePlatformDriver
Contract for a driver that is able to create platform instances by version.

Table of Contents

createDatabasePlatformForVersion()  : AbstractPlatform
Factory method for creating the appropriate platform instance for the given version.
getDatabase()  : string
Gets the name of the database connected to for this driver.
getDatabasePlatform()  : AbstractPlatform
Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
getSchemaManager()  : AbstractSchemaManager
Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.

Methods

createDatabasePlatformForVersion()

Factory method for creating the appropriate platform instance for the given version.

public createDatabasePlatformForVersion(mixed $version) : AbstractPlatform
Parameters
$version : mixed

The platform/server version string to evaluate. This should be given in the notation the underlying database vendor uses.

Return values
AbstractPlatform

getDatabase()

Gets the name of the database connected to for this driver.

public getDatabase(Connection $conn) : string
Parameters
$conn : Connection
Return values
string

The name of the database.

Search results