preql: safe PostgreSQL queries using Quasiquoters

[ bsd3, database, library, postgresql ] [ Propose Tags ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 0.3, 0.4, 0.5, 0.6
Change log CHANGELOG.md
Dependencies aeson (>=1.4.7.1), array (>=0.5.4.0), base (>=4.13.0.0 && <5.0), binary-parser (>=0.5.6), bytestring (>=0.10.10.0), bytestring-strict-builder (>=0.4.5.3), contravariant (>=1.5.2), mtl (>=2.2.2), postgresql-binary (>=0.12.2), postgresql-libpq (>=0.9.4.2), scientific (>=0.3.6.2), syb (>=0.7.1), template-haskell (>=2.15.0.0), text (>=1.2.3.2), th-lift-instances (>=0.1.17), time (>=1.9.3), transformers (>=0.5.6.2), unordered-containers, uuid (>=1.3.13), vector (>=0.12.1.2), vector-sized (>=1.4.1) [details]
License BSD-3-Clause
Author Daniel Bergey
Maintainer bergey@teallabs.org
Category Database, PostgreSQL
Home page https://github.com/bergey/preql#readme
Bug tracker https://github.com/bergey/preql/issues
Source repo head: git clone https://github.com/bergey/preql
Uploaded by bergey at 2021-07-31T18:35:41Z
Distributions
Downloads 904 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-07-31 [all 1 reports]