Skip to main content
Extremely Popular
Go to Latest
type alias ConnectionString
import { type ConnectionString } from "https://deno.land/x/postgres@v0.17.0/connection/connection_params.ts";

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