MongoDB Community Hub
Fastest way to get total count for pagination, for an aggregation pipeline
Working with Data
aggregation
KW_N_A
(Kw N/A)
August 21, 2024, 9:56pm
5
Hmm with a lookup, it will face the same performance issue as option
#1
(which I have illustrated).
show post in topic
NEW: MongoDB Community Hub is Now in Public Preview!
×