neo4j安装 docker

http://192.168.100.230:7474

match (a)-[r]-(b) delete r,a,b

match (a) return a

match (a) delete a

MATCH (inviter:User)-[:Invite*1..2]-(invitee:User)
WHERE inviter.userId =7
RETURN invitee
CREATE CONSTRAINT ON (user:User)
ASSERT user.userId IS UNIQUE

docker run -d -m 4G --memory-swap 4G --restart=always --net malling-net --network-alias neo4j --hostname neo4j --publish=7474:7474 --publish=7687:7687 --volume=/home/docker/neo4j/data:/data neo4j

节点(label)

属性()

关系(方向)

索引(唯一、主键(id))

你可能感兴趣的:(数据库,javaweb技术,互联网技术)