If I have documents like so, is there a mango query that I can use to find all documents where the uid
in the signatures array matches the uid
in the root document?
{
_id: "1",
uid: "12345",
signatures: [ { uid: "12345" } ]
},
{
_id: "2",
uid: "12345",
signatures: [ { uid: "55555" } ]
}
Expected response would only give me the first document.