Hi Stanley, If you're trying to update schema for multiple documents, may be couch_normalized would fit you more: https://github.com/roundscope/couch_normalizer -- ,,,^..^,,,
On Wed, Nov 27, 2013 at 7:49 AM, Stanley Iriele <[email protected]> wrote: > Bulk updates in couchdb are a tad painful. you have to fetch them out of > the database apply your change and save them. > > I propose adding the ability to have something like an update handler that > folds across documents > > either in the way that lists do via get row > > ex. > > function (head, req){ > > while (var row = getRow()){ > row.doc.name = req.query.name; > send(row.doc)// except this commits the doc to disk or something here > } > > or something along this line...it could return an array over the wire like > bulk updates does....on a scale of 1 to 10 how bad of an idea is this?
