Selects documents in a collection or view and returns a cursor to the selected documents. It basically performs a query to find the documents and usually returns an array of all the results.
Aggregation operations process data records and return computed results. Aggregation operations group values from multiple documents together, and can perform a variety of operations on the grouped data to return a single result.
No, find() is just a method returning a cursor to the documents. So it does not provide any pipeline features and does not includes features like transformation of data and staging of data where…
Full Stack | Ionic | Node.js