How can i modify the values of pagination result .
I want to to some computation inside for loops.
What you’ve got there is, as it says, a ResultSet, not an array. What’s your actual goal here? Why do you need to set this field in these records? The best solution depends very much on what is supposed to happen with the data after this.
I want to change the date format from 2021-04-07 10:50am to 04/07/2021 10:50am|
OR
Adding additional array element from the Pagination result .
Can i change result set to array ?
Why would you need to update the format of the date in the actual entities? If it’s because you want the format different in some output, then the output is the place to change it, not in the controller.