Answers for "Query nested array of objects in mongoose"

0

Query nested array of objects in mongoose

db.collection.find({
  "instock.items": {
    $elemMatch: {
      name: "alexa"
    }
  }
})
Posted by: Guest on April-08-2022

Code answers related to "Query nested array of objects in mongoose"

Browse Popular Code Answers by Language