I have the following structure:
{
"title" : "Parent",
"child" :
{
"title" : "Child"
}
}
// I want to get only:
"child" :
{
"title" : "Child"
}
I want to return only the child document. I'm trying to use the aggregation framework but i'm pretty new in Mongo and i'm lost here.
Any help? Thanks in advance.