'mongodb find where no matching item in other collection

I need help with a query. I have a collection user and timeplan. timeplan has the key date. Now I want to select all users where no timeplan exists for the date 05.15.2022 18:00 - can someone help me with this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source