
24 Aug
2012
24 Aug
'12
6:58 a.m.
On Fri, Aug 24, 2012 at 12:31 AM, Asafe Ribeiro
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 =). Cheers, [1] https://github.com/yesodweb/persistent/tree/master/persistent-test [2] https://github.com/yesodweb/persistent/blob/master/persistent-test/Init.hs#L... -- Felipe.