Example i have this:
'[{
"_id" : ObjectId("ewfg4wefewefefw"),
"student":
[{
"_id" : ObjectId("rvro43jroorvke"),
"fname": "someone"
"score": 3.5
},
{
"_id" : ObjectId("fnoierlj4e"),
"fname": "random"
"score": 3.5
},
{
"_id" : ObjectId("f32023wkjlew"),
"fname": "the one"
"score": 3.5
}]
}]'
and I only want the result is the the one:
'{
"_id" : ObjectId("f32023wkjlew"),
"fname": "the one"
"score": 3.5
}'
I think this situation is get object inside array. I tried to serach few place and cant find the one working for me. I am using monk to connect to db.