参数化标签 [英] Parameterizing labels

查看:42
本文介绍了参数化标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用参数将标签添加到Neo4j中的新节点?

Is it possible to add a label to a new node in Neo4j using parameters?

例如:

CREATE (N){nodeLabel} 

带有参数:

nodeLabel = "Widget"

我试图这样做,但是只看到了例外.

I've attempted to do this but have only seen exceptions.

推荐答案

当前无法对标签进行参数化.随时在 https://github.com/neo4j/neo4j/issues/new上提交功能请求.

Currently labels cannot be parameterized. Feel free to file a feature request on https://github.com/neo4j/neo4j/issues/new.

这篇关于参数化标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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