Find() or aggregate() and $match in it?

hello. i have question about the title talked about. does it make any diffrence in performance or just find method is made for make it easier for developer wrtiting queries?

did i ask something wrong or there is nobody that has the answer? please answer my question

There is no performance differences between find() and aggregate() for comparable queries.

find() is simpler
aggregate() is much more flexible and can do more

2 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.