1

我正在尝试提取路径但使用没有原始密码的新模型

你将如何实现相当于

MATCH (n:node_class {reference: 'some_root_node_id'})-[:relationship*0..]-(m:node_class) SET m.property=n.property

但是在 Neomodel 代码中,不使用原始密码?

我尝试使用neomodel.match.Traversal该类,但它似乎只返回第一级相关节点,是否有我不知道的参数?

class node_class(StructuredNode):
    reference = StringProperty()
    relationship = Relationship(node_class, 'relationship')
4

0 回答 0