Hi Team,
I have scenario where I need to insert a document when there is no match found in the roles array. I tried but with the In condition it checks in any document but not in single document all the condition.
I can not use normal update with element match as I will end up calling db multiple times.
Sample mongo playground