Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>postgres.ConnectionString

Kysely dialect for PostgreSQL using the deno-postgres client.
Go to Latest
type alias postgres.ConnectionString
import { type postgres } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.0/mod.ts";
const { ConnectionString } = postgres;

The connection string must match the following URI structure. All parameters but database and user are optional

postgres://user:password@hostname:port/database?sslmode=mode...

You can additionally provide the following url search parameters

  • application_name
  • dbname
  • host
  • options
  • password
  • port
  • sslmode
  • user
definition: string