summaryrefslogtreecommitdiff
path: root/share/www/script/couch.js
diff options
context:
space:
mode:
authorDamien F. Katz <damien@apache.org>2008-05-29 20:51:14 +0000
committerDamien F. Katz <damien@apache.org>2008-05-29 20:51:14 +0000
commit7e897a21ca5fa417b63abce023e775d55d3b6641 (patch)
treef5bbcad9f631755b21d3fbe68409021da351f4f0 /share/www/script/couch.js
parent333d18cf62273159fe6c86e0f11d35511e6f8fb3 (diff)
Grouped reduce support. Needs performance work.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@661476 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/couch.js')
-rw-r--r--share/www/script/couch.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/www/script/couch.js b/share/www/script/couch.js
index 947a5137..5fe43fb5 100644
--- a/share/www/script/couch.js
+++ b/share/www/script/couch.js
@@ -88,6 +88,7 @@ function CouchDB(name) {
if (req.status != 201)
throw result;
for(var i in docs) {
+ docs[i]._id = result.new_revs[i].id;
docs[i]._rev = result.new_revs[i].rev;
}
return result;