Search across all documentation pages
9 pages in this section.
Why a Node process talks to a database through a pool of reused connections instead of one-per-request, how drivers and ORMs layer on top of that pool, and what that architecture costs - the mental model behind every other page in this section.
Learn database basics for Node.js backends. Compare SQL vs. Document databases, manage connection strings, and set up a minimal pg pool.
Implement production-ready Node.js applications with node-postgres (pg), covering connection pooling, parameterized queries, and transactions.
Learn how Drizzle ORM provides SQL-first typing for TypeScript, defining tables in code and enabling SQL-like queries with a light runtime.
Optimize Node.js database operations with best practices for Postgres, Prisma, Drizzle, and MongoDB. Learn about migrations, connection pooling, and query safety.
A single-page roundup of every highlight bullet from the 8 pages in the Databases section, grouped by source page so you can scan all 39 takeaways without opening each article individually.