M
M
Maxim Timofeev2018-04-02 19:23:53
MySQL
Maxim Timofeev, 2018-04-02 19:23:53

How more logical to make pagination taking into account groups?

I have a query that can have multiple columns in GROUP BY. It is necessary to make pagination, so as not to break the groups. I can't figure out how to approach the issue.
The data should be given in json, and the table is built by js, so I won’t use LinkPager, like DataProviders (I can write my own), but I can’t figure out how to set the limit.
Need a push in the right direction.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lazy @BojackHorseman MySQL, 2018-04-02
Tag

I didn't understand either! limit, offset applied to the grouping result

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question