Answer the question
In order to leave comments, you need to log in
How to select "total" elements in ddd?
The first implementation of the repositories returned an array of elements to getList() and it worked. Now the understanding has come that pagination cannot be done this way.
I think to convert the array to a collection with an iterator in which there will be a "totalCount" parameter, well, you understand.
How is this done correctly in ddd?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question