agilord/postgres_pool
Pool de conexão PostgreSQL com uma ampla gama de parâmetros automáticos de reconexão em Dart.
- Stars
- 18
- Forks
- 10
- Último push (UTC)
- 14 de dez. de 2023
- Status do projeto
- Ativo
LinguagensDart
Dependências usadas
README original
Texto original em inglês. Visite o GitHub para a versão atual.
Expandir / recolher 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.