更新时间:2023-12-01 15:35:34
我在写问题时实际上已经想到了这一点。相当简单,但在线上没有很多示例,因此需要利用这个机会来提供示例。
I actually figured this one out while writing the question. It was reasonably easy but there are not a lot of examples online so therefore feel the need to take this opportunity to provide an example.
$.couch.db("MyDocuments").view("MyDesign/MyView", {
success: function(data) {
console.log(data);
},
error: function(status) {
console.log(status);
},
key: ['Michael','2011-08-02'],
reduce: false
});
关键部分是您要查找的内容:)
The "key" section is what you are looking for :)