
8 Apr
2011
8 Apr
'11
4:22 a.m.
Hello, I am having trouble wiring up Persistent.MongoDB into a Yesod app - I can't quite wrap my head around how it fits together. I have this test file: https://gist.github.com/909264 I know withMongoDBConn wiring is incorrect, but I can't find a good example to base it off. Also not sure what the correct `select` call is to use - Database.MongoDB or Database.Persist.MongoDB. Cheers, Xavier PS I'm using: https://github.com/gregwebs/persistent/tree/MongoDB5