couchdb-enumerator 0.2.0 → 0.2.1
raw patch · 2 files changed
+4/−4 lines, 2 files
Files
Database/CouchDB/Enumerator.hs view
@@ -18,7 +18,7 @@ -- > -- > -- Insert some documents. Note that the dbname passed to withCouchConnection -- > -- is prepended to the given path, so this is a put to--- > -- http://localhost:5983/test/doc1+-- > -- http://localhost:5984/test/doc1 -- > rev1 <- couchPut "doc1" [] $ object [ "foo" .= (3 :: Int), "bar" .= ("abc" :: String) ] -- > rev2 <- couchPut "doc2" [] $ object [ "foo" .= (7 :: Int), "baz" .= (145 :: Int) ] -- >@@ -136,8 +136,8 @@ -> Path -- ^ The dbname from the connection is prepended to -- this path. -> HT.Query -- ^ Query arguments- -> Iteratee B.ByteString m a -- ^ Iteratee to process the response- -> H.RequestBody m -- ^ body+ -> Iteratee B.ByteString m a -- ^ Iteratee to process the response if no error occurs.+ -> H.RequestBody m -- ^ Body -> Iteratee B.ByteString m a couch m p q i b = Iteratee $ do conn <- couchConnection
couchdb-enumerator.cabal view
@@ -1,5 +1,5 @@ Name: couchdb-enumerator-Version: 0.2.0+Version: 0.2.1 Cabal-Version: >= 1.8 License: BSD3 License-File: LICENSE