我有一个像这样存储在一个文档中的现有 json 结构。如何将 CBLQuery 映射/减少用于事件数组?
{
"_id": "subject:6688",
"_rev": "29-d3aad012fc362578e8a9b652918f419d",
"subjectId": 6688,
"title",
"events": [
{
"eventId",
"subjectId",
"createdDateStr",
"createdDateEpoch"
}
]
}