Mongodb – Passing the $in operator with result of previous column
I had a document like this: const myUser = 'e' //Collection Selection { level: [ { currentUser: 'f', stages: [ { users: ['a','b','c'] }, { users: ['b','d','e'] } ] }, { currentUser: 'g', stages: [ { users: ['y','x','w'] }, {…