Creating view in Cloudant (CouchDB) based on an object property value
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've been trying to find a solution for this requirement but I've hit many dead ends. I'm using Cloudant as my data store of user documents. Each user document has a field (property) called 'items', which is an array of objects. So a user document looks like this: { "_id":"userid1", "_rev":"XX", "username": "foobaruser" "items": [ { "date":1357879144069, "text":"don't cry because it's over, smile because it happened.", "cat":"determination" }, { "date":1357879179209, "text":"those who mind don't matter, and those who matter don't mind.",