Answers for "Mongoose - populate nested array"

1

Mongoose - populate nested array

Car
  .find()
  .populate({
    path: 'partIds',
    model: 'Part',
    populate: {
      path: 'otherIds',
      model: 'Other'
    }
  })
Posted by: Guest on May-03-2022

Code answers related to "Mongoose - populate nested array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language