agilord/postgres_pool
Dart における広範な自動再接続パラメータを備えた PostgreSQL 接続プール。
- Stars
- 18
- Forks
- 10
- 最終プッシュ(UTC)
- 2023/12/14
- プロジェクト状態
- 公開中
言語Dart
使用している依存関係
元の README
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
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(frompackage:postgres). - Use
PgPool.runfor non-transactional batches with optional retry. - Use
PgPool.runTxfor transactional batches with optional retry.