Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message_recieved表该怎么建呀 #41

Open
kenpachi8600 opened this issue May 16, 2021 · 4 comments
Open

message_recieved表该怎么建呀 #41

kenpachi8600 opened this issue May 16, 2021 · 4 comments

Comments

@kenpachi8600
Copy link

message_recieved这个表,有哪些字段,还有各自的数据类型都是啥呀

@pengyou200902
Copy link
Owner

对应代码段里包含了message_recieved涉及哪些字段和类型

@kenpachi8600
Copy link
Author

kenpachi8600 commented May 17, 2021

感谢您及时回答,今天遇到了新的问题
py2neo.database.work.ClientError: [Statement.SyntaxError] The old parameter syntax {param} is no longer supported. Please use $param instead (line 1, column 24 (offset: 23))
"match (a:Disease{name: {disease}}) return a"
在我输入进去“头痛怎么办”,并选择其中一个选项“偏头痛”。没有任何反应,并出现上面这个问题,该怎么办呢
我用的是neo4j 版本是4.0.1 py2neo安装的是2020.0.0

@kenpachi8600
Copy link
Author

我把actions文件里的{disease}全部替换为$disease,成功运行了,太棒了!!!

@pengyou200902
Copy link
Owner

对,这是neo4j的driver更新了新的语法,所以老版本不适用了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants