hasql-th icon indicating copy to clipboard operation
hasql-th copied to clipboard

Template Haskell utilities for Hasql

Results 13 hasql-th issues
Sort by recently updated
recently updated
newest added

Hi, I have several PostgreSQL custom types, e.g.: ```sql CREATE TYPE foo AS ENUM ('foo', 'bar', 'baz'); ``` How is one supposed to handle these with `hasql-th` please? Currently if...

It would be really nice to have a QuasiQuoter that compiles the SQL and outputs a ByteString.

Currently the way to specify that a field is nullable is to suffix the type hint with `?`, e.g. `SELECT x :: text?`. Unfortunately because this is invalid SQL syntax,...