【问题标题】:parameterized Cypher query not working in Neography参数化 Cypher 查询在 Neography 中不起作用
【发布时间】:2012-05-18 22:31:14
【问题描述】:

尝试使用 Neography v0.0.23 执行参数化 Cypher 查询。

即使非参数化版本有效:

Neo.execute_query("开始 n=node(3) 返回 n") => {“数据”=>[[{....

参数化版本不起作用:

Neo.execute_query("开始 n=node(id) 返回 n", {:id => 3}) => 无

【问题讨论】:

  • 升级到 Neography 0.0.25 问题依旧

标签: neo4j neography


【解决方案1】:

尝试使用“start n=node({id}) return n”和大括号中的参数名称。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-05-19
    • 2020-06-30
    • 2011-12-21
    • 2013-09-18
    • 2020-12-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多