• +91 9723535972
  • info@interviewmaterial.com

MongoDB Interview Questions and Answers

Question - How do we perform the Join operations in MongoDB?

Answer -

From MongoDB3.2, we can perform the Join operation. The new $lookup operator included with the aggregation pipeline is the same as the left outer join. Example:

{
   $lookup:
     {
       from: ,
       localField: ,
       foreignField: ,
       as:
     }
}

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners