couchdb-conduit-0.7.2: Couch DB client library using http-conduit and aeson

Safe HaskellSafe-Infered

Database.CouchDB.Conduit.Design

Description

High-level API for CouchDB design documents. These methods are very convenient for bootstrapping and testing.

Synopsis

Documentation

couchPutViewSource

Arguments

:: MonadCouch m 
=> Path

Database

-> Path

Design document

-> Path

View name

-> ByteString

Map function

-> Maybe ByteString

Reduce function

-> ResourceT m () 

Put view to design document. If design document does not exist, it will be created.