supabase/node-postgres
PostgreSQL client for node.js.
https://skillcdn.ai/gh/supabase/node-postgresConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
master - Commit
a8a369c - License
MIT
Explore this repository
Searches the original text of skills and documents; display translations are not searched.
Documents
- _meta.jsdocs/pages/guides/_meta.js
- Express with async/awaitMy preferred way to use node-postgres (and all async code in node.js) is with async/await. I find it makes reasoning about control-flow easier and allows me to write more concise and maintainable cod…docs/pages/guides/async-express.md
- Pool SizingIf you're using a pool in an application with multiple instances of your service running (common in most cloud/container environments currently), you'll need to think a bit about the max parameter of…docs/pages/guides/pool-sizing.md
- Suggested Project StructureWhenever I am writing a project & using node-postgres I like to create a file within it and make all interactions with the database go through this file. This serves a few purposes:docs/pages/guides/project-structure.md
- Upgradingnode-postgres at 8.0 introduces a breaking change to ssl-verified connections. If you connect with ssl and usedocs/pages/guides/upgrading.md