The template string tag
import {SQL} from 'sql-template-strings'; pg.query(SQL`SELECT author FROM books WHERE name = ${book} AND author = ${author}`)
Generated using TypeDoc
The template string tag
import {SQL} from 'sql-template-strings'; pg.query(SQL`SELECT author FROM books WHERE name = ${book} AND author = ${author}`)