码迷,mamicode.com
首页 > 其他好文 > 详细

neo4j----创建索引

时间:2018-09-06 18:11:51      阅读:169      评论:0      收藏:0      [点我收藏+]

标签:index   create   teacher   unique   删除索引   int   dex   索引   sse   

创建索引

create index on:Student(name)

删除索引

drop index on:Student(name)

创建唯一索引

create constraint on (s:Teacher) assert s.name is unique

删除唯一索引

drop constraint on (s:Teacher) assert s.name is unique

neo4j----创建索引

标签:index   create   teacher   unique   删除索引   int   dex   索引   sse   

原文地址:https://www.cnblogs.com/learningJAVA/p/9599393.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!