[web-devel] Passing a MongoDB connection through to Yesod
greg at gregweber.info
Fri Apr 8 06:43:48 CEST 2011
The MongoDB backend is not functional yet. It is being actively completed
now though, and there may be something working by next week. If you want to
hack on it now you can ask rrichardson to push his latest changes.
Or if you are interested in using the straight Mongo driver without the
Persistent layer I can show you code for that. Otherwise you will need to
use the sqlite or postgresql backends for now.
On Thu, Apr 7, 2011 at 9:22 PM, Xavier Shay <xavier-list at rhnh.net> wrote:
> 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:
> 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.
> PS I'm using:
> web-devel mailing list
> web-devel at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the web-devel