Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试执行 $node->addLabels(array($label)) 并且尚未提交批处理时,我得到了一个异常。所以我们根本不能在批处理期间向节点添加标签?或者任何解决方法是可能的?
当我尝试在批处理期间获取新创建的节点 $node->getID() 的 ID 时,我得到空值。ID 仅在提交批次后可用。有什么方法可以在提交之前获取 ID?
1) neo4jphp 不支持向打开的批次添加标签。
2)在提交批次之前,节点没有id。在提交批处理之前,无法获取节点 ID。这是 REST API 的限制。