couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@mooseyard.com>
Subject Re: few doubts
Date Mon, 04 Jul 2011 03:30:54 GMT

On Jul 3, 2011, at 8:24 PM, Patrick Barnes <mrtrick@gmail.com> wrote:

> Dynamically added, or 'temporary' views are really only meant for testing, and on small
datasets. Don't use them.

You mean the one-shot _temp_view. But there's no reason the app couldn't create bona fide
views in a design doc if it wanted to. These would persist and be as efficient as any other.

> Views are defined in the design document beforehand, yes, but a single couchdb view is
much more flexible and customisable than an SQL query.

Yeah; a view is more like a SQL index, that makes many different queries possible at runtime.

--Jens
Mime
View raw message