I'm using the couchdb4j. It's Database.view(String) only has one parameter.
I see where it's View has functions for setting StartKey, EndKey, etc, but nothing just for key. Thanks -----Original Message----- From: Paul Davis [mailto:paul.joseph.da...@gmail.com] Sent: Thursday, August 06, 2009 2:14 PM To: user@couchdb.apache.org Subject: Re: adding key= clause to view On Thu, Aug 6, 2009 at 3:49 PM, Michael McCaffrey<mmccaff...@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