Documentation
Neon

Neon

According to their official website (opens in a new tab), Neon database is a multi-cloud fully managed Postgres.

Drizzle ORM natively supports both Neon Serverless (opens in a new tab) driver with drizzle-orm/neon-serverless package and postgres or pg drivers to access Neon database, as of their official nodejs docs (opens in a new tab)

npm i drizzle-orm @neondatabase/serverless
npm i -D drizzle-kit

With Neon Serverless package [github (opens in a new tab), blog post (opens in a new tab)] you can access Neon database from serverless environments with no TCP available, like Cloudflare Workers, through websockets.

index.ts
import { neon, neonConfig } from '@neondatabase/serverless';
import { drizzle } from 'drizzle-orm/neon-http';
 
neonConfig.fetchConnectionCache = true;
 
const sql = neon(process.env.DRIZZLE_DATABASE_URL!);
const db = drizzle(sql);
 
const result = await db.select().from(...);

If you're about to use Neon from a serverfull environments, according to their official nodejs docs (opens in a new tab) you should just use PostgresJS driver - see docs.