Driver
public interface Driver
Method Summary | |
---|---|
Doctrine\DBAL\Driver\Connection | connect(array params, string username, string password, array driverOptions) Attempts to create a connection with the database. |
string | getDatabase(Doctrine\DBAL\Connection conn) Get the name of the database connected to for this driver. |
Doctrine\DBAL\Platforms\AbstractPlatform | Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to. |
string | getName() Gets the name of the driver. |
Doctrine\DBAL\SchemaManager | getSchemaManager(Doctrine\DBAL\Connection conn) Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to. |
public Doctrine\DBAL\Driver\Connection connect(array params, string username, string password, array driverOptions)
Attempts to create a connection with the database.
public string getDatabase(Doctrine\DBAL\Connection conn)
Get the name of the database connected to for this driver.
public Doctrine\DBAL\Platforms\AbstractPlatform getDatabasePlatform()
Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
public string getName()
Gets the name of the driver.
public Doctrine\DBAL\SchemaManager getSchemaManager(Doctrine\DBAL\Connection conn)
Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.
Driver interface. Interface that all DBAL drivers must implement.