0
在根据功能部分出现了Neo4j的Cypher支架的Refcard(http://docs.neo4j.org/refcard/2.0/)是这样定义的:Neo4j的暗号toInt功能
toInt({expr})
Converts the given input in an integer if possible; otherwise it returns NULL.
如果我尝试在Cypher支架控制台我得到这个:
neo4j-sh (?)$ match (n:Document) return toInt(n.date);
==> SyntaxException: Unknown function 'toInt' (line 1, column 27)
==> "match (n:Document) return toInt(n.date)"
==> ^
neo4j-sh (?)$
(在我的情况n.date是该日期的字符串表示。)
另外在neo4j文档中没有提及此功能:http://docs.neo4j.org/chunked/stable/query-function.html。
任何人都可以解决这个难题?
您可以发布查询吗? –
应该在2.1.0-M01中,我认为有一些版本与refcard混合。 –