我用一个节点填充了一个空的NEO4J商店:
create (P: Per {Name: "Shalom"});
质疑它
neo4j> match (n) return n;
| (:Per {Name: "Shalom"}) |
尝试正则表达式,得到了最奇怪的回应:
neo4j> match (n : Per) where n.Name =- ".*lom" return n;
Type mismatch: expected Float or Integer but was String (line 2, column 33 (offset: 33))
"match (n : Per) where n.Name =- ".*lom" return n;"
知道这里有什么问题吗?谢谢,
Shalom Elkin
正则表达式运算符不是qazxsw poi(等于减号),而是qazxsw poi(等于代字号)。
所以你的查询是:=-