@hackage preql0.6

safe PostgreSQL queries using Quasiquoters

Before you Post(gres)QL, preql.

preql provides an effect type class SQL, a select quasiquoter that checks SQL syntax at compile time, and a sql quasiquoter that supports variable antiquotes, but does not attempt syntax validation.

For more details, read the quickstart or the vision

Most applications will want to import the top-level module Preql. When writing SQL instances or your own higher-level abstractions, you may want the lower-level, IO-specific functions in Preql.Wire, not all of which are re-exported from Preql.