Documentation

Driver extends AbstractPostgreSQLDriver
in package

FinalYes

Abstract base implementation of the {@see Driver} interface for PostgreSQL based drivers.

Table of Contents

Methods

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}
constructConnectionString()  : string
Constructs the Postgres connection string

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

constructConnectionString()

Constructs the Postgres connection string

private constructConnectionString(array<string, mixed> $params) : string
Parameters
$params : array<string, mixed>
Return values
string

        
On this page

Search results