generated at
2/12/2025, 9:54:35 PM
Postgres.js
#PostgreSQL
特徴
Node.js
/
Bun
/
Deno
/
Cloudflare workers
で動作する高速な
PostgreSQL
クライアント
コネクションプーリングをサポート
LISTEN
/
NOTIFY
のラッパーAPIを提供 (
PostgreSQLのLISTENとNOTIFYコマンドについて
)
node-postgres
と比べるとまだ周辺ライブラリや使用事例などは少ないはずなので、
Node.js
や
Bun
で
PostgreSQL
ドライバーを採用する際は
node-postgres
の方も検討するとよさそうです
リンク
https://github.com/porsager/postgres
https://github.com/porsager/postgres-benchmarks
関連ページ
node-postgres
sqlc-gen-typescript