incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Carey" <paul.p.ca...@gmail.com>
Subject Re: Arguments for Reduce function
Date Wed, 17 Dec 2008 17:08:48 GMT
> No, actually, I am trying to pass an arbitrary argument so that I get
> the count of elements < that argument and > that argument. kind of
> like select count(*) from foo where bar<6;

I don't think I misunderstood. I've posted an example where you can do just this
http://friendpaste.com/6VWDrZU07ZXK8iwyv7XtNp

>> If you wanted to see all the docs, simply query with reduce=false
>
> But I want to see all the results after reduce function has run. Right
> now I am using a command like
>
> http://localhost:5984/users/_view/test1/test1?count=50&group=true
>
> I would like to do some thing like
>
> http://localhost:5984/users/_view/test1/test1?count=all&group=true

But maybe I have, as I don't understand what you're asking here.

Paul

Mime
View raw message