Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to check availability of one set in another?

 
Dmitriy Kastikovich
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I have unidirection manyToMany:



From another side I have a List<Day> workingDays and how can I get all Markets, where list of days contains all from workingDays?

Thanks.
 
James Sutherland
Ranch Hand
Posts: 553
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by,

"another side I have a List<Day> workingDays√ą

What is workingDays an attribute of? Or is it an argument?

In general an ALL OF type of query will used a NOT EXISTS and a sub-SELECT,

i.e.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic