CBLQuery map / reduce for arrays属性

时间:2014-06-17 02:21:12

标签: couchbase couchbase-lite couchbase-view

我有一个存储在一个文档中的现有json结构。如何在事件数组中使用CBLQuery map / reduce?

{
        "_id": "subject:6688",
        "_rev": "29-d3aad012fc362578e8a9b652918f419d",
        "subjectId": 6688,
        "title",
        "events": [
            {
                "eventId",
                "subjectId",
                "createdDateStr",
                "createdDateEpoch"
            }
        ]
}

1 个答案:

答案 0 :(得分:1)