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