Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/modules/postgres/deps.ts>ConnectionString

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