FLUTTER ECOSYSTEM

agilord/postgres_pool

Dart 中具有廣泛自動重連參數的 PostgreSQL 連接池。

postgres_pool 專案封面
Stars
18
Forks
10
最近推送(UTC)
2023年12月14日
專案狀態
未封存
Agilord, LLC GitHub avatar
GITHUB Organization

Agilord, LLC ↗

語言Dart

使用的依賴

依賴清單 5 項

原始 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 (from package:postgres).
  • Use PgPool.run for non-transactional batches with optional retry.
  • Use PgPool.runTx for transactional batches with optional retry.