Browse/Neon/Connect with the Serverless Driver
Connect with the Serverless Driver
Neon
$19 · Pro
Query a Neon Postgres database over HTTP/WebSockets from serverless.
recent-orders.ts
const sql = neon(process.env.DATABASE_URL!);
Unlock the full snippet
This is a Pro snippet — get all-access for $19, or unlock just this one snippet for $1.
Connect with the Serverless Driver — Neon Example (TypeScript, Node) | apiexamples