【问题标题】:Datastax Graph: Gremlin query to get all the vertices which does not have a specific edgeDatastax Graph:Gremlin 查询以获取所有没有特定边的顶点
【发布时间】:2020-04-10 18:59:57
【问题描述】:

Gremlin 查询返回所有没有特定出边的顶点。我们有两个顶点类型,它们由一个边名“属于”连接,现在我需要得到一个没有边名“属于”的顶点

【问题讨论】:

    标签: datastax datastax-enterprise google-data-studio


    【解决方案1】:

    g.V().hasLabel("suburb").filter(__.not(outE("belongswithin"))).count()

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-02-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多