Pagination at result aggregation level

22 views
Skip to first unread message

Radu Vasilescu

unread,
May 20, 2017, 7:59:27 AM5/20/17
to Querydsl

Is this limitation still in place in QueryDsl 4?

I'm trying to get a paginated list of results that need to be aggregated (grouped by one column) and sorted by another.
For example I have this table:

Doc|Version|LastModified
1|1|2017-01-05
1|2|2017-02-15
2|1|2017-02-02
2|2|2017-03-01

I need a paginated list of documents sorted by LastModified. Is this possible with QueryDSL?

On Thursday, January 7, 2016 at 2:00:29 PM UTC-5, timowest wrote:
The paging (limit/offset) applies to the query and not result aggregation. Paging at the result aggregation is not supported.

Could you explain your requirement for that?
Reply all
Reply to author
Forward
0 new messages