incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stanley Iriele <>
Subject proposed feature - list function /update handler half baby
Date Wed, 27 Nov 2013 03:49:39 GMT
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


function (head, req){

while (var row = getRow()){ =;
    send(row.doc)// except this commits the doc to disk or something here

or something along this 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?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message