On Jan 8, 2009, at 10:59 AM, Dean Landolt wrote:


A collection in xquery terms is really nothing more than a tag with a few
supporting APIs.

A collection is an XPath thing used in host languages, XSLT and XQuery being most natural. It makes hierarchies easy.


What does it gives you that you can't get right out of the
box with couch?

- the ability to have a hierarchy without you having to explicitly list/manage children in a parent document.
- the ability to narrow/limit the documents given to a map function
- more fine tuned GET, PUT and DELETE

Also, a GET request on a collection would return a kind of JSON directory listing.

best,
-Rob

Reply via email to