【发布时间】:2017-08-03 14:08:15
【问题描述】:
我想进行查询以查找所有只有“A”且没有“B”作为其后代的顶点 (c.out('RepositoryEdge').out('InfoEdge')) 对于特定示例,只有顶点 #33:53 满足此条件
我应该如何进行查询? 提前致谢
【问题讨论】:
标签: orientdb orientdb2.2 orientdb-2.1
我想进行查询以查找所有只有“A”且没有“B”作为其后代的顶点 (c.out('RepositoryEdge').out('InfoEdge')) 对于特定示例,只有顶点 #33:53 满足此条件
我应该如何进行查询? 提前致谢
【问题讨论】:
标签: orientdb orientdb2.2 orientdb-2.1
试试这个:
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)
希望对你有帮助
问候
【讨论】: