json如下

{"cql":"select * from _Installation where channels='170' and deviceType='android' limit 1 order by createdAt desc","data":{"alert":"hello"}}

push记录,devices 为10

{ "updatedAt": "2016-02-03T09:36:52.206Z", "where": { "query": { "valid": true, "channels": "170", "deviceType": "android" }, "sort": { "createdAt": 1 } }, "push-time": null, "prod": "prod", "notificationId": "F1bnL5JPQFPtwKSM", "createdAt": "2016-02-03T09:36:51.610Z", "msg": { "alert": "hello" }, "status": "done", "devices": 10, "through?": null}

发送的总是多条记录,求解,谢谢!

提前祝新春愉快!

谢谢。

limit 确实无效,抱歉带来不便。修复发布的话,可能要到年后了。

对于推送, limit 都无效,这不是 bug,而是这么设计的。如果需要针对单独某个设备推送,请适当选择查询条件。

cql 只是 AVQuery 的封装,一种简便的 DSL,意义是什么,我不是很明白。