Skip to content

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

License

Notifications You must be signed in to change notification settings

agilord/postgres_pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages