Neo4J外键
我需要您的学校作业帮助。我们需要将Neo4J用作数据库。我们有3个桌子,研究人员,善良和出版表。 每个出版物都必须有一种,它将来自该表。如果每个研究人员都有出版物,则将来自出版表。我们需要添加一个外键。我找不到这个来源。如何在Neo4J中添加外键?
I need your help with my school homework. We need to use neo4j as a database. We have 3 tables, researcher, kind, and publication tables.
Each publication has to have a kind and it will come from the kind table. If every researcher has a publication, it will come from the publication table. We need to add a foreign key. I couldn't find a source for this. How to add a foreign key in Neo4j?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
外键不适用于NEO4J
Foreign keys do not apply to a Graph Database like neo4j ????.
Instead, create one Node for each
publication
, create a Node for eachkind
, and create a Relationship between the respective Nodes. I.e.: