Good people, this is my output with the normal find:
{
"_id" : ObjectId("57be6168ce98ad853a96282f"),
"nome" : "Mercado Padrão",
"userId" : "o4wQ2i4Dt7cAMNf9A",
"produtos" : [
{
"nome" : "coca cola",
"vds" : [
{ "desc" : "Sódio", "qtd" : "0,5", "vd" : "mg" }
],
"est" : "100", "preco" : "5.50", "sku" : "KU177"
}
]
}
My question is how to make a query that returns only the product list of a specific userId.
example: I want to consult all userId products: o4wQ2i4Dt7cAMNf9A.