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 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
.
Properties
Versions | 0.1, 0.2, 0.3, 0.4, 0.5, 0.5, 0.6 |
---|---|
Change log | CHANGELOG.md |
Dependencies | aeson (>=1.4.7.1), array (>=0.5.4.0), base (>=4.13.0.0 && <4.15), 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), 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-01-10T21:01:26Z |
Modules
[Index] [Quick Jump]
Downloads
- preql-0.5.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees