preql: safe PostgreSQL queries using Quasiquoters

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

Before you Post(gres)QL, preql.

preql provides a low-level interface to PostgreSQL and a quasiquoter that converts inline variable names to SQL parameters. Higher-level interfaces, checking SQL syntax & schema, are planned.

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 && <1.5.6), array (>=0.5.4.0 && <0.5.5), base (>=4.13.0.0 && <4.15), binary-parser (>=0.5.6 && <0.6), bytestring (>=0.10.10.0 && <0.10.13), bytestring-strict-builder (>=0.4.5.3 && <0.4.6), contravariant (>=1.5.2 && <1.5.4), mtl (>=2.2.2 && <2.2.3), postgresql-binary (>=0.12.2 && <0.12.4), postgresql-libpq (>=0.9.4.2 && <0.9.5), scientific (>=0.3.6.2 && <0.3.7), syb (>=0.7.1 && <0.7.2), template-haskell (>=2.15.0.0 && <2.17), text (>=1.2.3.2 && <1.2.5), th-lift-instances (>=0.1.17 && <0.1.19), time (>=1.9.3 && <1.9.4), transformers (>=0.5.6.2 && <0.5.7), uuid (>=1.3.13 && <1.3.14), vector (>=0.12.1.2 && <0.12.2), vector-sized (>=1.4.1 && <1.4.4) [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-01-08T17:43:25Z
Distributions
Downloads 806 total (14 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-01-08 [all 1 reports]