benoitc / couchbeam

Apache CouchDB client in Erlang
Other
242 stars 113 forks source link

Is it possible to use update api? #14

Closed sendtopms closed 13 years ago

sendtopms commented 14 years ago

I like to know how update API can be used? more from wiki http://wiki.apache.org/couchdb/How_to_intercept_document_updates_and_perform_additional_server-side_processing

Can couchbeam support this?

sendtopms commented 14 years ago

Do you have any updates on this issue?

jhs commented 14 years ago

Hi, sendtopms. Just wanted to ask what is your objective for the update API?

I ask because, _update is usually for legacy formats, such as rendering HTML for a browser and receiving form submissions from the browser. Many people today are using _rewrite to intercept "normal" updates to documents and add custom processing if necessary. My point is, couchbeam can already use _update and _show functions via the rewriter.

My only concern is, would it make couchbeam more complex?

sendtopms commented 14 years ago

No problem at all, I am no more using Couchdb and Thanks for your wonderful work.

benoitc commented 13 years ago

closing issue