apijson分页限制无法解除
997959066 opened this issue · 3 comments
997959066 commented
997959066 commented
扩展 taos和 clikehouse 都是一样的效果。
TommyLemon commented
必须分页,不分页在数据量大的时候容易拖垮数据库。
可以在 DemoParser 重写 getMaxQueryCount,给一个比较大的值。
前端传字段 count 来指定每页数量。
"query": 2 不是指查全部数据,是指同时查 0.数据 和 1.数量 以上全部。
https://github.com/Tencent/APIJSON/blob/master/Document.md#3.2

另外对接 taos 和 clikehouse 的 Demo 可以开源下吗?帮助其它用户使用,开源需要大家一起贡献才会更美好~
997959066 commented
必须分页,不分页在数据量大的时候容易拖垮数据库。
可以在 DemoParser 重写 getMaxQueryCount,给一个比较大的值。
前端传字段 count 来指定每页数量。"query": 2 不是指查全部数据,是指同时查 0.数据 和 1.数量 以上全部。
https://github.com/Tencent/APIJSON/blob/master/Document.md#3.2
另外对接 taos 和 clikehouse 的 Demo 可以开源下吗?帮助其它用户使用,开源需要大家一起贡献才会更美好~
