incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: adding key= clause to view
Date Thu, 06 Aug 2009 20:14:26 GMT
On Thu, Aug 6, 2009 at 3:49 PM, Michael McCaffrey<mmccaffrey@ittvis.com> wrote:
> I've got this view working in futon and running directly on a browser
> line.
>
> Any ideashow to get the parameter "key=1" to work with the db.view
>
>

Which db.view?

The python one would be db.view(name, key=1)

The jquery one would be db.view(name, {key: 1}) IIRC, but you'd want
to look at futon code to double check.

Paul Davis

Mime
View raw message