How can I pass parameters to a view using cradle (CouchDB)
问题 Using cradle, how am I able to pass parameters to a view in CouchDB? Update Say I want to return documents which match other properties than _key (the default)... // document format { _key, postHeading, postBody, postDate } What if I wanted to match documents against the postHeading property... How would I go about this? What would the view look like, and how would I pass a search string to that view? At the moment I'm doing this... database.get("980f2ba66d5c8f9c91b9204a4d00022a", function