核心数据:通过连接表获取属性
我有一个与服务具有多对多关系的主机。该关系是通过连接表“hostServices”实现的。我想通过“获取的属性”获取与主机相关的服务。但是我如何定义谓词呢?
我现在做了类似 'ANY hostServices.host.name == "$FETCH_SOURCE.name"' 的操作,并且尝试了 'ANY hostServices.host == "$FETCH_SOURCE"'。
但这没有用。有谁知道我如何获取服务?
提前致谢!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试:
Try: