[Haskell-beginners] Recommended DB layer?
Erik de Castro Lopo
mle+hs at mega-nerd.com
Mon Jun 17 11:36:37 CEST 2013
Jeremy Shaw wrote:
> I have not looked at persistent in AGES. So, my information is horribly out
> of date. But I think the issue with 'lowest common denominator' is that it
> means you can not exploit the useful power of the underlying database. For
> example, I believe that at one point in time (no idea about right now),
> persistent could not do SQL-level joins -- because not all backends could
> support joins..
Queries written with Esqueleto support joins:
http://hackage.haskell.org/packages/archive/esqueleto/latest/doc/html/Database-Esqueleto.html
in a relatively elegant way.
> If persistent aims to be able to target wildly different backends, some of
> which are not even SQL based, then it seems like it would hard for it to
> also have optimal performance.
It is my understanding that esqueleto only supports SQL databases
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the Beginners
mailing list