incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hank Knight <hknight...@gmail.com>
Subject CouchDB: Can a hierarchical URL structure be accomplished with unique documents?
Date Sun, 10 Nov 2013 15:05:35 GMT
I understand that it is inefficient to associate all attachment with a
single document when creating a couchapp.

These three attachments are all associated with the same document, a
document with the _id of "www":

https://zuhqtr5.couchappy.com/site/www/qqq/hello.txt
https://zuhqtr5.couchappy.com/site/www/qqq/world.txt
https://zuhqtr5.couchappy.com/site/www/qqq/example.txt

Is there a way to make these attachments available via the same URL
but with each one belonging to an independent document, or must I
maintain a total flat URL structure to allow for multiple files to
each be associated with a unique document?

Mime
View raw message