couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCaffrey" <mmccaff...@ittvis.com>
Subject Adding GET parameters to views
Date Thu, 06 Aug 2009 19:53:52 GMT
I've got this view working in futon and running directly on a browser
line.

 

Any ideas how to get the parameter "key=1" to work with the db.view()

 

Works on browser, returning only key=1 rows:

http://127.0.0.1:5984/catalog/_design/catalog/_view/allDocsByFileLocatio
n?key=1

 

 

View executes but no filtering on key happens in returned results:

ViewResults result =
db.view("_design/catalog/_view/allDocsByFileLocation?key=1");

 

 

Something with the syntax I assume.

 

Using couchdb4j.

 

Thanks

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message