DB2Driver
class DB2Driver extends AbstractDB2Driver (View source)
IBM DB2 Driver.
Methods
Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.
Attempts to create a connection with the database.
Gets the name of the driver.
Details
in AbstractDB2Driver at line 38
string
getDatabase(Connection $conn)
Gets the name of the database connected to for this driver.
in AbstractDB2Driver at line 48
AbstractPlatform
getDatabasePlatform()
Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
in AbstractDB2Driver at line 56
AbstractSchemaManager
getSchemaManager(Connection $conn)
Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.
at line 35
Connection
connect(array $params, string|null $username = null, string|null $password = null, array $driverOptions = [])
Attempts to create a connection with the database.
at line 63
string
getName()
Gets the name of the driver.