FLUTTER ECOSYSTEM

agilord/postgres_pool

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

postgres_pool project cover
Stars
18
Forks
10
Last push (UTC)
Dec 14, 2023
Project status
Active
Agilord, LLC GitHub avatar
GITHUB Organization

Agilord, LLC ↗

LanguagesDart

Dependencies used

Dependency list 5 items

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

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

Discontinued

package:postgres from ^3.0.0 supports connection pooling as part of the core library. Development and advanced pooling support will be migrated to that package.

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.