incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: CouchDB: Can a hierarchical URL structure be accomplished with unique documents?
Date Sun, 10 Nov 2013 18:39:01 GMT

On Nov 10, 2013, at 7:05 AM, Hank Knight <hknight555@gmail.com> wrote:

> I understand that it is inefficient to associate all attachment with a
> single document when creating a couch app.

Only if they’re really, really huge. For a normal couchapp I don’t think it would be a
problem.

> Is there a way to make these attachments available via the same URL
> but with each one belonging to an independent document

I believe you can do that using a rewrite handler to change the incoming URL. But I have never
used those so I can’t tell you how they work.

—Jens


Mime
View raw message