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.