neo4j----创建索引

创建索引

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

posted @ 2018-09-06 16:46  啊朋  阅读(4132)  评论(0编辑  收藏  举报