createPostgresDatabase
createPostgresDatabase(
options):DatabaseAdapter
Defined in: packages/db-postgres/src/index.ts:49
Create a Postgres-backed DatabaseAdapter using postgres.js and Drizzle ORM.
Works with self-hosted Postgres, AWS RDS, GCP Cloud SQL, Supabase, Neon, and Azure Database for PostgreSQL — all speak the standard wire protocol. For provider-specific TLS and pooling notes, see the deployment guide.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”DatabaseAdapter