seagreen / ian

Personal megarepo
7 stars 0 forks source link

postgresql-query like interface for hasql #15

Open seagreen opened 4 years ago

seagreen commented 4 years ago

postgresql-query has the perfect interface for a medium level Postgres client: https://hackage.haskell.org/package/postgresql-query-3.7.0/docs/Database-PostgreSQL-Query-TH-SqlExp.html

However Hasql seems to be a more solid library.

It would be a cool to have the good parts of postgresql-query's API (not the whole thing, I don't want to have typeclasses for getting entire records out of a postgres row) built on top of hasql.