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

x/windmill/pg.ts>pgSql

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function pgSql
import { pgSql } from "https://deno.land/x/windmill@v1.45.0/pg.ts";

deno-postgres client API is very flexible: https://deno.land/x/postgres@v0.16.1/mod.ts?s=QueryClient

Parameters

db: Resource<"postgresql">

the postgresql resource to generate the client for

optional
asObjects = [UNSUPPORTED]