Skip to content

VercelDatabaseOptions

Defined in: packages/db-postgres/src/vercel.ts:26

Options for creating a Vercel-backed DatabaseAdapter.

With no options, the platform default sql client (bound to POSTGRES_URL) is used and the caller owns nothing. Pass client to inject a preconfigured client instead (teardown stays a no-op either way — the platform owns the connection).

optional client?: VercelClient

Defined in: packages/db-postgres/src/vercel.ts:27