couchdb icon indicating copy to clipboard operation
couchdb copied to clipboard

Server-side mass update function

Open wohali opened this issue 5 years ago • 2 comments

We get this one a lot on IRC: "I want to write a JS function that goes to CouchDB and CouchDB runs it on every document in the database." Basically, a way to submit server-side jobs to update all the docs in the database somehow.

wohali avatar Aug 07 '18 16:08 wohali

Noting that if we implement #1280 or #1498, the syntax for this could become very simple.

wohali avatar Aug 07 '18 16:08 wohali

https://github.com/cliffano/couchtato - we use this to iterate through all the docs. But, definitely, a built in solution would be highly appreciated.

ngspinu avatar Nov 29 '23 12:11 ngspinu