I dont know what a list gunction is, can I have an example?

PAco
On Oct 8, 2009, at 10:21 AM, Brian Candler wrote:

On Wed, Oct 07, 2009 at 10:15:38PM -0500, Francisco Viramontes wrote:
Is there a view I can make that handle conditional key emiting or
something that I can pass a parameter to?

No, views cannot take parameters. This is because they are built up- front, and updated incrementally thereafter. That is, the view exists independently
of the queries which are subsequently made against it.

One option is to have a view which outputs keys in whatever the smallest range is you want to support, say 1 minute buckets. Then you can combine
them into N-minute buckets client-side, or inside a _list function.

Reply via email to