Driver
extends AbstractPostgreSQLDriver
in package
Abstract base implementation of the {@link Driver} interface for PostgreSQL based drivers.
Table of Contents
- connect() : Connection
- {@inheritdoc}
- createDatabasePlatformForVersion() : AbstractPlatform
- Factory method for creating the appropriate platform instance for the given version.
- getDatabasePlatform() : mixed
- {@inheritdoc}
- getExceptionConverter() : ExceptionConverter
- getSchemaManager() : mixed
- {@inheritdoc}
- constructPdoDsn() : string
- Constructs the Postgres PDO DSN.
Methods
connect()
{@inheritdoc}
public
connect(array<string|int, mixed> $params) : Connection
Parameters
- $params : array<string|int, mixed>
Return values
Connection —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 —getDatabasePlatform()
{@inheritdoc}
public
getDatabasePlatform() : mixed
Return values
mixed —getExceptionConverter()
public
getExceptionConverter() : ExceptionConverter
Return values
ExceptionConverter —getSchemaManager()
{@inheritdoc}
public
getSchemaManager(Connection $conn, AbstractPlatform $platform) : mixed
Parameters
- $conn : Connection
- $platform : AbstractPlatform
Return values
mixed —constructPdoDsn()
Constructs the Postgres PDO DSN.
private
constructPdoDsn(array<string|int, mixed> $params) : string
Parameters
- $params : array<string|int, mixed>