Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agilord/postgres_pool
Postgresql connection pool with a wide range of automated reconnect parameters in Dart.
https://github.com/agilord/postgres_pool
Last synced: 2 months ago
JSON representation
Postgresql connection pool with a wide range of automated reconnect parameters in Dart.
- Host: GitHub
- URL: https://github.com/agilord/postgres_pool
- Owner: agilord
- License: bsd-3-clause
- Created: 2020-02-18T21:37:11.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-14T23:58:24.000Z (about 1 year ago)
- Last Synced: 2024-09-19T23:18:52.022Z (4 months ago)
- Language: Dart
- Homepage: https://pub.dev/packages/postgres_pool
- Size: 43.9 KB
- Stars: 18
- Watchers: 4
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this 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.