valderman / selda

A type-safe, high-level SQL library for Haskell
https://selda.link
MIT License
478 stars 58 forks source link

fix issue where tableUniqueGroups would always come back as [] #115

Closed anisjonischkeit closed 5 years ago

anisjonischkeit commented 5 years ago

Currently tableUniqueGroups (from the database) always comes back with an empty list. The type of tableUniqueGroups has changed making the list comprehension fail.

The code looked significantly different for SQLite and I didn't have a look at if it was broken there too.

valderman commented 5 years ago

Good catch! The SQLite backend got properly converted to the new backend API, but it seems that PostgreSQL didn't get enough attention there.