Zum Hauptinhalt springen

Postgres client & connection (Neon serverless)

Generated from mcp/patterns.registry.json — do not edit by hand; change the registry and run bun run patterns:build.

Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes.

Category: Databases & Storage · Tier: light · Risk: medium — external managed service (Neon Postgres)

Sets up the Drizzle client for PostgreSQL using the Neon serverless driver as the app's single database connection entrypoint.

When to use: Reach for it whenever server-side code needs a database handle to run Drizzle queries.

Docs

Code

Proof


Machine-readable record: databases-postgres-connection in mcp/patterns.registry.json.

← Back to Pattern Library

Geht dieses Pattern noch besser? Sag uns, wie.

Feedback geben