[Haskell-cafe] Handling Postgresql array types
tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Fri Dec 26 10:52:46 UTC 2014
On Fri, Dec 26, 2014 at 02:36:07PM +1100, Riaan wrote:
> So went back to HDBC. But now my queries are starting to get fairly long
> and I have been looking at libraries like Persistent with Esqualeto,
> HaskellDB and Groundhog to make my queries a little more composable and
> type safe.
Don't forget to look at Opaleye too :) It doesn't really have much support
for arrays at the moment, but if you let me know what you want to do I'm
happy to help you.
> So to my question. Does anyone have experience with one of these libraries
> in dealing with postgresql arrays
instance (FromField a, Typeable a) => FromField (PGArray a)
Does that not do exactly what you want?
More information about the Haskell-Cafe