Answer the question
In order to leave comments, you need to log in
How to properly select elements in MongoDB?
You must first sort the documents by the date field in descending order (date in the format yyyy.mm.dd so that the lexicographic comparison will work fine), then find the document by _id and return the next 30. How to do this in an optimized way?
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