AbstractDB2Driver
in package
implements
Driver
Abstract base implementation of the {@link Doctrine\DBAL\Driver} interface for IBM DB2 based drivers.
Tags
Interfaces, Classes and Traits
- Driver
- Driver interface.
Table of Contents
- 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
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.
getDatabasePlatform()
Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
public
getDatabasePlatform() : AbstractPlatform
Return values
AbstractPlatform —The database platform.
getSchemaManager()
Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.
public
getSchemaManager(Connection $conn) : AbstractSchemaManager
Parameters
- $conn : Connection