Open repl opened 5 years ago
I would like to take this please assign it to me.
@shivam15 Thank you for your interest. You will have to add a few records in your local mongodb (see README). Please go ahead and create a PR.
@repl can you update readme for deploying scala backend?
@shivam15 The service is run using bootRun task of gradle. I have updated the readme as well.
@repl created pull request please check.
Can you please find the total in one call to mongodb? This is what I was trying to implement.
On Sat, Apr 13, 2019, 3:46 AM Shivam Sarawagi notifications@github.com wrote:
@repl https://github.com/repl created pull request please check.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/repl/Springboot-Scala-MongoDB/issues/1#issuecomment-482798249, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhGypabeQD_J1dFYEA74OoH9w8QmZ2_ks5vgbV1gaJpZM4cdf3z .
Do you think its possible since you are passing limit and skip in the first query. How will you get total count in same?
Please analyze if any composite aggregate query can be formed.
On Sat, Apr 13, 2019, 8:22 PM Shivam Sarawagi notifications@github.com wrote:
Do you think its possible since you are passing limit and skip in the first query. How will you get total count in same?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/repl/Springboot-Scala-MongoDB/issues/1#issuecomment-482916277, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhGyoHfaoLZwjjlgqJ7zJhUTqSTZ8e8ks5vgp79gaJpZM4cdf3z .
The endpoint /api/v1/books' returns books in a paginated way and each response payload also includes an attribute total count which will help the caller to show the total number of pages. The total count needs to be calculated using mongodb operations using spring data methods.