Posted by: Pdfprep
Post Date: January 29, 2021
What does the following aggregate query perform?
A . Fetches the posts with likes between 100 and 200 and sets their _id as null
B . Groups the posts by number of likes (101, 102, 103.) by adding 1 every time
C . Calculates the number of posts with likes between 100 and 200
D . Fetches the posts with likes between 100 and 200, sets the _id of the first document as null and then increments it 1 every time
Answer: C
Leave a Reply