MongoDB card reviewmedium

What is the $lookup stage in MongoDB aggregation?

The $lookup stage performs a join-like operation between collections. It allows MongoDB to combine related data from different collections and return a single aggregated result.

JB

Jeevan Bhargav

Audited by Creator

This answer is calibrated for technical interviews. Verify benchmarks in local sandboxes before deploying.