Skip to content
Advertisement

find all entities by nested list that don’t have some value

I have tables NighClub, Visitor and Visitors_NighClub (many to many). I need to get all night clubs which DONT HAVE certain Visitor.

To get NightClubs which HAVE certain Visitor I do like this:

But how to get all nightClubs that DONT HAVE some certain Visitor. I cant do like:

Advertisement

Answer

Figure this out

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement