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.