【问题标题】:Gremlin: how to find nodes that stem from starting node and have connection to a particular other node?Gremlin:如何找到源自起始节点并与特定其他节点有连接的节点?
【发布时间】:2020-01-13 20:10:56
【问题描述】:

例如使用从节点 person 1 (marko) 开始的 Appache 现代图。我想找到所有 Marko 知道的节点,它们创建了名为 Ripple 的软件。意思是我想找到节点 4。

我会为此使用什么样的查询?

【问题讨论】:

    标签: gremlin tinkerpop3


    【解决方案1】:
    g.V(1).out('knows').where(out('created').has('name','ripple'))
    

    【讨论】:

      猜你喜欢
      • 2023-03-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-08-16
      • 1970-01-01
      • 1970-01-01
      • 2014-07-21
      • 1970-01-01
      相关资源
      最近更新 更多