I have a record of following format...
{
"_id" : ObjectId("609cd99d1af4ac1036d78f7d"),
"userrole" : "admins",
"locks" : [
{
"userid" : "2932fb99-4c41-4342-99e0-af15f8146da0",
"useremail" : "fsasdev@gmail.com",
"filepath" : "output/notes.txt",
.
.
}
]
}
How to fetch userid,useremail where filepath matches"output/notes.txt"?