AbstractPostgreSQLDriver
abstract class AbstractPostgreSQLDriver implements Driver, ExceptionConverterDriver, VersionAwarePlatformDriver (View source)
Abstract base implementation of the {@link Doctrine\DBAL\Driver} interface for PostgreSQL based drivers.
Methods
Converts a given DBAL driver exception into a standardized DBAL driver exception.
Factory method for creating the appropriate platform instance for the given version.
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.
Details
at line 46
DriverException
convertException(string $message, DriverException $exception)
Converts a given DBAL driver exception into a standardized DBAL driver exception.
It evaluates the vendor specific error code and SQLSTATE and transforms it into a unified {@link Doctrine\DBAL\Exception\DriverException} subclass.
at line 101
AbstractPlatform
createDatabasePlatformForVersion(string $version)
Factory method for creating the appropriate platform instance for the given version.
at line 130
string
getDatabase(Connection $conn)
Gets the name of the database connected to for this driver.
at line 142
AbstractPlatform
getDatabasePlatform()
Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
at line 150
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.