neo4j:在浏览器界面中设置密码查询参数的语法是什么? [英] neo4j: What is the syntax to set cypher query parameters in the browser interface?

查看:121
本文介绍了neo4j:在浏览器界面中设置密码查询参数的语法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从neo4j浏览器中运行查询,以从我的neo4j-javascript-driver客户端中再现结果.

I am trying to run queries from the neo4j browser to reproduce results from my neo4j-javascript-driver client.

在neo4j b中定义查询参数的语法是什么

What is the syntax for defining query parameters in the neo4j b

我最近在纽约参加了neo4j培训课程,培训师(David Fauth)做到了这一点,很遗憾,我没有做笔记,因为我认为自己可以在网上阅读这本书...但是没有成功

I recently attended a neo4j training session in NYC where the trainer (David Fauth) did this, unfortunately, I did not take notes on it, since I figured that I could read-up on this online...but no success.

推荐答案

在neo4j浏览器中,您需要输入以下示例:

In neo4j-browser you need type for example:

:params {nodes: [{name: "John", age: 18}, {name: "Phill", age: 23}]}

然后您可以照常使用参数:

Then you can use params as usual:

UNWIND {nodes} as node
MERGE (A:User {name: node.name, age: node.age})
RETURN A

要获取neo4j浏览器中清晰的参数,请键入:params {}.

For clear params in neo4j-browser type :params {}.

有关其他帮助,请键入:help params.

For additional help type :help params.

这篇关于neo4j:在浏览器界面中设置密码查询参数的语法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆