Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oak_nest/modules/postgres/mod.ts>ConnectionString

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
type alias ConnectionString
Re-export
import { type ConnectionString } from "https://deno.land/x/oak_nest@v3.0.1/modules/postgres/mod.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