ember-couchdb-kit icon indicating copy to clipboard operation
ember-couchdb-kit copied to clipboard

Views options should be available as an object or raw string

Open Zatvobor opened this issue 11 years ago • 0 comments

There are both expressions should be available:

options = 'key="%@"&include_docs=true'.fmt(type);
issues = App.Issue.find({type: "view", designDoc: 'issues', viewName: "all_by_board", options: options});
options = {key: type, include_docs: true};
issues = App.Issue.find({type: "view", designDoc: 'issues', viewName: "all_by_board", options: options});

Zatvobor avatar Aug 14 '13 11:08 Zatvobor