Check out example codes for "mongo array". It will help you in understanding the concepts better.

Code Example 1

db.articles.find({
    "stock.country" : "01",
    "stock.warehouse.code" : "02"
}).pretty();

Code Example 2

db.inventory.find( { tags: ["red", "blank"] } )

Learn ReactJs, React Native from akashmittal.com