0
我有DB与下面的模式 OrientDb - 进行查询
我想进行查询,发现所有这些都只有“A”和dont't有“B”作为他们后裔的顶点(C .out('RepositoryEdge'))out('InfoEdge')) 对于特定示例,只有顶点#33:53满足此条件
如何进行我的查询? 在此先感谢
我有DB与下面的模式 OrientDb - 进行查询
我想进行查询,发现所有这些都只有“A”和dont't有“B”作为他们后裔的顶点(C .out('RepositoryEdge'))out('InfoEdge')) 对于特定示例,只有顶点#33:53满足此条件
如何进行我的查询? 在此先感谢
试试这个:
select from <class-name> where @rid not in (select in("InfoEdge").in("RepositoryEdge") from #42:0) and @rid in (select in("InfoEdge").in("RepositoryEdge") from #41:5)
希望它可以帮助
问候
伟大的想法,从反向出在旅行社!!!!” – Robob