You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2010/08/10 21:52:55 UTC
[Couchdb Wiki] Trivial Update of "HTTP_view_API" by Julian Vassev
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The "HTTP_view_API" page has been changed by Julian Vassev.
The comment on this change is: row objects must have a value attribute, not foo.
http://wiki.apache.org/couchdb/HTTP_view_API?action=diff&rev1=42&rev2=43
--------------------------------------------------
http://localhost:5984/database/_design/company/_view/all
Example:
-
+ oo
{{{
GET /some_database/_design/company/_view/all HTTP/1.0
Date: Thu, 17 Aug 2006 05:39:28 +0000GMT
@@ -265, +265 @@
"rows": [{
"id": "AE1AD84316B903AD46EF396CAFE8E50F",
"key": null,
- "foo": "bar"
+ "value": "bar"
}
]
}