ConfiguresPooledConnections
trait ConfiguresPooledConnections (View source)
Methods
Get the direct configuration for a connection.
Merge a configuration for a direct connection.
Ensure pooled PostgreSQL connections are configured correctly.
Stamp emulated prepares onto a connection configuration when not explicit.
Determine if the configuration has a direct PostgreSQL connection.
Details
protected array
getDirectConfig(array $config)
Get the direct configuration for a connection.
protected array
mergeDirectConfig(array $config, array $merge)
Merge a configuration for a direct connection.
protected array
ensurePooledPostgresIsProperlyConfigured(array $config)
Ensure pooled PostgreSQL connections are configured correctly.
protected array
withEmulatedPrepares(array $config)
Stamp emulated prepares onto a connection configuration when not explicit.
protected bool
hasDirectConnection(array $config)
Determine if the configuration has a direct PostgreSQL connection.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.