Skip to content

apijson分页限制无法解除 #243

Closed

Description

@997959066

环境信息

  • 系统:
  • JDK:
  • 数据库:
  • APIJSON:

问题描述
分页限制无法解除

image

错误信息
根据文档"query": 2 并未查出全部

Activity

  1. 997959066 commented on May 28, 2021

    @997959066
    Author

    扩展 taos和 clikehouse 都是一样的效果。

  2. TommyLemon commented on May 31, 2021

    @TommyLemon
    Member

    必须分页,不分页在数据量大的时候容易拖垮数据库。
    可以在 DemoParser 重写 getMaxQueryCount,给一个比较大的值。
    前端传字段 count 来指定每页数量。

    "query": 2 不是指查全部数据,是指同时查 0.数据 和 1.数量 以上全部。
    https://github.com/Tencent/APIJSON/blob/master/Document.md#3.2
    image

    另外对接 taos 和 clikehouse 的 Demo 可以开源下吗?帮助其它用户使用,开源需要大家一起贡献才会更美好~

  3. 997959066 commented on Jun 4, 2021

    @997959066
    Author

    必须分页,不分页在数据量大的时候容易拖垮数据库。
    可以在 DemoParser 重写 getMaxQueryCount,给一个比较大的值。
    前端传字段 count 来指定每页数量。

    "query": 2 不是指查全部数据,是指同时查 0.数据 和 1.数量 以上全部。
    https://github.com/Tencent/APIJSON/blob/master/Document.md#3.2
    image

    另外对接 taos 和 clikehouse 的 Demo 可以开源下吗?帮助其它用户使用,开源需要大家一起贡献才会更美好~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions