Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can anybody explain me below statement and give the suggestion if possible? Topic:SpringBoot Q Can we do pagination in the repository query and return the
Can anybody explain me below statement and give the suggestion if possible?
Topic:SpringBoot
Q Can we do pagination in the repository query and return the paged result?
It will get us paged result of type MessageBucket but we need paged result of our required model.Even if we map torequired model in repo onlythen also we need collection for our Dto but we have collection for MessageBucket only to perform aggregration on . Kindly suggest.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started