serverpod_postgres_pool 2.1.1 copy "serverpod_postgres_pool: ^2.1.1" to clipboard
serverpod_postgres_pool: ^2.1.1 copied to clipboard

Postgresql connection pool with a wide range of automated reconnect parameters.

A library to control a maximized number of connections to a single PostgreSQL server.

Usage #

Once you've created the PgPool object, you can:

  • Use it as PostgreSQLExecutionContext (from package:postgres).
  • Use PgPool.run for non-transactional batches with optional retry.
  • Use PgPool.runTx for transactional batches with optional retry.
1
likes
70
pub points
3%
popularity

Publisher

unverified uploader

Postgresql connection pool with a wide range of automated reconnect parameters.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

executor, postgres, retry

More

Packages that depend on serverpod_postgres_pool