apiary-mongoDB-1.2.0: mongoDB support for apiary web framework.

Safe HaskellNone
LanguageHaskell2010

Web.Apiary.MongoDB

Contents

Synopsis

Documentation

initializer

initHerokuMongoDB :: (MonadIO m, MonadBaseControl IO m, Has Heroku exts) => MongoDBConfig -> Initializer m exts (MongoDB : exts) Source

initialize MongoDB extension using heroku service.

compatible:

  • MongoHQ
  • MongoLab
  • MongoSoup

query

access :: (MonadExts es m, Has MongoDB es, MonadBaseControl IO m, MonadIO m) => Action m a -> m a Source

query using MongoDBConfig settings.

if you want to access other db, other accessmode, please use useDb or accessMode.

reexports

module Data.Bson