We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Requirement里py2neo版本是4.1.3,但neo_models.py代码中使用了find_one,这是在v2和v3支持的函数,v4已不再支持。 现在查找节点的操作是这样子的:
from py2neo import Graph, NodeMatcher graph = Graph() matcher = NodeMatcher(graph) matcher.match("Person", name="Keanu Reeves").first() (_224:Person {born:1964,name:"Keanu Reeves"})
官方文档:https://py2neo.org/v4/index.html
The text was updated successfully, but these errors were encountered:
同发现了这个问题,py2neo应该用的不是v4==
Sorry, something went wrong.
不过刚刚看了他,估计是更新了,已经没有使用find_one这个函数了
如果使用neo4j v4以上版本,需要py2neo v5,可以搜索一下py2neo v5 handbook 查看安装
我进行了实体查询,查不到,出错了,然后改了py2neo的版本为3.1.2结果可以查询了
No branches or pull requests
Requirement里py2neo版本是4.1.3,但neo_models.py代码中使用了find_one,这是在v2和v3支持的函数,v4已不再支持。
现在查找节点的操作是这样子的:
官方文档:https://py2neo.org/v4/index.html
The text was updated successfully, but these errors were encountered: