Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Database
Created by Guest
Created on Nov 4, 2021

$populate stage

Please provide a $populate stage that allows to resolve single referenced documents. Internally it could use the combination of $lookup and $unwind: https://stackoverflow.com/questions/41482559/how-to-return-single-object-instead-of-array-in-lookup-of-mongodb Related: https://stackoverflow.com/questions/37793844/mongodb-how-to-resolve-dbref-on-client-side https://jira.mongodb.org/browse/SERVER-22497
  • Attach files