hasql-interpolate

QuasiQuoter that supports expression interpolation for hasql

https://github.com/awkward-squad/hasql-interpolate

Version on this page:0.2.2.0
LTS Haskell 22.43:0.2.2.0
Stackage Nightly 2024-11-24:1.0.1.0@rev:1
Latest on Hackage:1.0.1.0@rev:1

See all snapshots hasql-interpolate appears in

BSD-3-Clause licensed by Travis Staton
Maintained by Travis Staton, Mitchell Rosen
This version can be pinned in stack with:hasql-interpolate-0.2.2.0@sha256:e6dcd161bd7147915f5f837b2dfc6f1710d6f0ce47341944ea1925194b8ed1fd,3206

Module documentation for 0.2.2.0

hasql-interpolate provides a sql QuasiQuoter for hasql that supports interpolation of haskell expressions and splicing of sql snippets. A number of type classes are also provided to reduce encoder/decoder boilerplate.

Changes

0.2.2.0 – 2024-05-07

  • Make compile-time syntax error messages prettier
  • Add EncodeValue instances for ByteString and LazyByteString
  • Add JsonBytes and JsonbBytes newtypes

0.2.1.0 – 2023-08-29

0.2.0.0 – 2023-08-17

0.1.0.4 – 2023-01-10

  • Support mtl-2.3

0.1.0.3 – 2022-07-31

  • Support GHC 9.2

0.1.0.2 – 2022-02-04

  • Support hasql-1.5

0.1.0.1 – 2021-11-15

  • Fixed bug in multiline parser