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

x/postgres/mod.ts>QueryClient#connect

PostgreSQL driver for Deno
Extremely Popular
Go to Latest
method QueryClient.prototype.connect
import { QueryClient } from "https://deno.land/x/postgres@v0.17.1/mod.ts";

Every client must initialize their connection previously to the execution of any statement

Returns

Promise<void>