Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
import * as postgres from "";


Additional granular database connection options

The Transport Layer Security (TLS) protocol options to be used by the database connection

Type Aliases

The configuration options required to set up a Client instance

Control the behavior for the client instance

The Client database connection options

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

A decoder function that takes a string value and returns a parsed value of some type.

A dictionary of functions used to decode (parse) column field values from string to a custom type. These functions will take precedence over the DecodeStrategy. Each key in the dictionary is the column OID type number or Oid type name, and the value is the decoder function.

The strategy to use when decoding results data