trait ConfiguresPooledConnections (View source)

Methods

array
getDirectConfig(array $config)

Get the direct configuration for a connection.

array
mergeDirectConfig(array $config, array $merge)

Merge a configuration for a direct connection.

array
ensurePooledPostgresIsProperlyConfigured(array $config)

Ensure pooled PostgreSQL connections are configured correctly.

array
withEmulatedPrepares(array $config)

Stamp emulated prepares onto a connection configuration when not explicit.

bool
hasDirectConnection(array $config)

Determine if the configuration has a direct PostgreSQL connection.

Details

protected array getDirectConfig(array $config)

Get the direct configuration for a connection.

Parameters

array $config

Return Value

array

protected array mergeDirectConfig(array $config, array $merge)

Merge a configuration for a direct connection.

Parameters

array $config
array $merge

Return Value

array

protected array ensurePooledPostgresIsProperlyConfigured(array $config)

Ensure pooled PostgreSQL connections are configured correctly.

Parameters

array $config

Return Value

array

protected array withEmulatedPrepares(array $config)

Stamp emulated prepares onto a connection configuration when not explicit.

Parameters

array $config

Return Value

array

protected bool hasDirectConnection(array $config)

Determine if the configuration has a direct PostgreSQL connection.

Parameters

array $config

Return Value

bool