我想进行一个查询,找到所有只有“a”且没有“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)
当做