I have Company nodes which are related to User nodes and Users have the plan_type trait. A Company could have multiple Users and Users could have different plan_types from one another.
I need to return a list of Company where none of the Users have a certain plan type.
WHERE NOT u.plan_type in ['Beginner','Intermediate']
But this way, if a Company has three Users with the plans Beginner, Intermediate, and Advanced, it will still return the Company because of the Advanced User.
Solved! Go to Solution.