cube-js/cube

total number of rows available in QueryRenderer and QueryBuilder

Open

#5,316 opened on 2022年9月18日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Rust (1,965 forks)batch import
help wanted

Repository metrics

Stars
 (19,563 stars)
PR merge metrics
 (平均マージ 5d 16h) (30d で 138 merged PRs)

説明

Is your feature request related to a problem? Please describe. When building data tables with QueryRenderer and QueryBuilder it is necessary to have the total no. of rows available. It is available via /load, but it would make life much easier if its available via the front-end connectors.

Describe the solution you'd like Total number of rows available in resultSet when using QueryRenderer and QueryBuilder.

Describe alternatives you've considered The alternative is to do another call, using the same query, with /load just for the total number of rows.

Additional context I'm using the Vue package (0.29.23), but I assume the discussion extends to React as well.

コントリビューターガイド