Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>postgres.TLSOptions

Kysely dialect for PostgreSQL using the deno-postgres client.
Latest
interface postgres.TLSOptions
import { type postgres } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { TLSOptions } = postgres;

Properties

enabled: boolean

If TLS support is enabled or not. If the server requires TLS, the connection will fail.

Default: true

enforce: boolean

This will force the connection to run over TLS If the server doesn't support TLS, the connection will fail

Default: false

caCertificates: string[]

A list of root certificates that will be used in addition to the default root certificates to verify the server's certificate.

Must be in PEM format.

Default: []