neo4j细胞色素功能

neo4j细胞色素功能,neo4j,cypher,Neo4j,Cypher,在函数部分下的neo4j Cypher refcard()中有以下定义: 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 func

在函数部分下的neo4j Cypher refcard()中有以下定义:

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文档中也没有提到此函数:


有人能解决这个难题吗?

toInt和toFloat尚未添加到2.0.1版本中。检查这里。{line 28}它计划用2.0.2发布

你能发布查询吗?应该是在2.1.0-M01中,我想有一些版本与参考卡混淆了。