preql: safe PostgreSQL queries using Quasiquoters
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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
.
Properties
Versions | 0.1, 0.2, 0.2, 0.3, 0.4, 0.5, 0.6 |
---|---|
Change log | CHANGELOG.md |
Dependencies | aeson (>=1.3.1 && <1.5), array (>=0.5.2 && <0.6), base (>=4.11 && <4.14), binary-parser (>=0.5.5 && <0.6), bytestring (>=0.10.8 && <0.11), bytestring-strict-builder (>=0.4.5 && <0.5), contravariant (>=1.4.1 && <1.6), free (>=5.0.2 && <5.2), mtl (>=2.2.2 && <2.3), postgresql-binary (>=0.12.1 && <0.13), postgresql-libpq (>=0.9.4 && <0.10), scientific (>=0.3.6 && <0.4), template-haskell (>=2.13.0 && <2.16), text (>=1.2.3 && <1.3), th-lift-instances (>=0.1.11 && <0.2), time (>=1.8.0 && <1.10), transformers (>=0.5.5 && <0.6), uuid (>=1.3.13 && <1.4), vector (>=0.12.0 && <0.13) [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 2020-03-31T22:45:48Z |
Modules
[Index] [Quick Jump]
- Preql
- Preql.Effect
- Preql.Imports
- QuasiQuoter
- Preql.Wire
Downloads
- preql-0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees