serverpod_postgres_pool 2.1.1
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(frompackage:postgres). - Use
PgPool.runfor non-transactional batches with optional retry. - Use
PgPool.runTxfor transactional batches with optional retry.