[web-devel] yesod persistent mysql

Felipe Almeida Lessa felipe.lessa at gmail.com
Fri Aug 24 12:58:27 CEST 2012

On Fri, Aug 24, 2012 at 12:31 AM, Asafe Ribeiro <asafe.hai.kai at gmail.com> wrote:
> No, i'm not using yesod, only persistent. Or is that not possible?

Yes, it is possible, just not usual =).  That's probably why the
examples are outdated.

I don't have time right now to write a simple example, but you may
take a look at persistent-test [1], which is persistent's test suite
(and completely independent of Yesod).  In particular, take a look at
runConn [2].  And please do bring any further questions you get along
the way =).


[1] https://github.com/yesodweb/persistent/tree/master/persistent-test
[2] https://github.com/yesodweb/persistent/blob/master/persistent-test/Init.hs#L156


More information about the web-devel mailing list