sqlf
Fast pgSQL generation for Deno
import { Pool } from "https://deno.land/x/postgres/mod.ts";
import * as sqlf from "https://deno.land/x/sqlf/mod.ts";
const pool = new Pool("...");
const [user] = await sqlf
.selectFrom("users")
.select("*")
.where("email", "=", "bob@example.com")
.limit(1)
.run(pool);
console.log(user);