I have two collection
Products
"_id" : "1",
"Product" : "Phone",
"Godown" :"Godown1",
"Info" : [
{
"Type":"iphone",
"Quantity" : "10",
"Price" : "30000"
},
{
"Type":"Samsung",
"Quantity" : "10",
"Price" : "30000"
}
]})
and Sales
"_id" : "5551",
"Product" : "Phone",
"Godown" :"Godown1",
"Type":"iphone",
"Quantity" : "10",
"Price" : "30000"
If i want merge this collection into one and store it in a variable is it possible?