I want the output as:
data_description:[
{
_id:“1”,
_descriptionID:“11”,
last_date:null,
next_data:null,
description_name:“test”
},
{
_id:“2”,
_descriptionID:“22”,
last_date:null,
next_data:null,
description_name:“actual”
}
]
I am struggle from past 1 day, any help in this regard is highly appreciated.
Hi, Thank you so much for the reply… This is exactly what I want. But on real working example it is giving me error . “Unrecognized expression ‘$first’”… Why is this for ?