https://stackoverflow.com/a/54857966/10964992 works only for a collection( because it only works for a given collection )
how to get a list of doc across differentt collecion (let say, contain a name attribute and type attribute equal to some value)?
let say we have 2 document in post collection. Each has an apply collection, which have a number of doc (applicants). I want to find that doc that have a specific applicationID.
collection doc collection doc properties
Jobposts ID1 apply APPLICANT1 {"applicationID":XXXXXX}
APPLICANT2 {"applicationID":XXXXXX}
ID2 apply APPLICANT5 {"applicationID":XXXXXX}
APPLICANT7 {"applicationID":XXXXXX}
I dont care about performance.