Question

I have a Host which has a many-to-many relationship with services. The relation is through a join table "hostServices". I would like to fetch te services related to a Host via a "fetched property". But how do I define the predicate?

I now did something like 'ANY hostServices.host.name == "$FETCH_SOURCE.name"' and I have tried 'ANY hostServices.host == "$FETCH_SOURCE"'.

But that didn't work. Does anyone know how I could fetch the services?

Thanks in advance!

My data model

Was it helpful?

Solution

Try:

host == $FETCH_SOURCE
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top