Lookup in MongoDB

Introduction If you plan to perform any aggregation operations in MongoDB, it’s important to understand the aggregation pipeline and its various stages. Documents that enter the aggregation pipeline are transformed in some way at each stage; the transformed results are then passed to the next stage of the process. In this article, we’ll focus on … Continued

How to Use the $lookup Function in MongoDB

Introduction When you’re querying data in MongoDB, there are times when you need information that’s stored in documents across multiple collections. The $lookup function makes it easy to “join” multiple collections, returning results that contain fields from all specified collections. In this tutorial, we’ll take a closer look at the $lookup function in MongoDB and … Continued

Keep in the know!

Subscribe to our emails and we’ll let you know what’s going on at ObjectRocket. We hate spam and make it easy to unsubscribe.