Database.Couch.Types

Basic types to distinguish CouchDB information

data Db

data DocId

data DocRev

data Host

data Password

data Port

data User

Handling encoding

reqDocId

reqDocRev

reqPassword

reqUser

Request Context

data Context

reqDb

reqHost

reqPort

data Credentials

Building requests

Handling Query Parameters

type QueryParameters

class ToQueryParameters a

Helpers for converting values to Query Parameters

toQP

boolToQP

docIdToQP

docRevToQP

intToQP

textToQP

Handling Header values

class ToHTTPHeaders a

Helpers for converting values to Headers

toHH

boolToHH

Parameters for different requests.

Parameters for monitoring server database creation

data DbUpdates

dbUpdatesParam

Parameters for monitoring database changes

data DbChanges

dbChangesParam

Parameters for bulk retrieval of documents.

data DbAllDocs

dbAllDocs

Paramters for bulk creation and updating parameters

data DbBulkDocs

dbBulkDocs

Parameters for modifying documents

data ModifyDoc

modifyDoc

Parameters for retrieving documents

data RetrieveDoc

retrieveDoc

Specifying how to monitor updates

data FeedType

feedTypeToQP

data SinceType

sinceTypeToQP

data StyleType

styleTypeToQP

Document revision map

data DocRevMap

View specification type

data ViewSpec

Design document type

data DesignDoc

A type for view information

data ViewIndexInfo

Parameters for view retrieval.

data ViewParams

viewParams

Results of a request

type Result a

Some success values

data CreateResult

Error values These will come to cover the gamut from failure to parse a particular JSON value to document conflicts. We try to differentiate in useful ways without being slavish about it.

data Error