querying part of array key in couchDB view
问题 I currently have a document called beacon_logs, and it logs every time I walk into range of a beacon. The data looks similar to this: { "_id": "00198cd8f0fc510dbad06bf24e93f55b", "_rev": "1-e90f025935847b0412923e4ba472cf2a", "device": "gwen", "beaconUUID": "123", "distance": "0.0", "timestamp": 1487443924 }, { "_id": "00198cd8f0fc510dbad06bf24e93f55c", "_rev": "1-e90f025935847b0412923e4ba472cf2a", "device": "gwen", "beaconUUID": "123", "distance": "0.1", "timestamp": 1487443925 }, { "_id":