15
11/22
docker安装neo4j
docker run -d --name neo4j \ -p 7474:7474 \ -v /mnt/home/sunyu/danone/neo4j-community-4.4.8/data:/data \ -v /mnt/home/sunyu/danone/neo4j-community-4.4.8/logs:/logs \ -v /mnt/home/sunyu/danone/neo4j-community-4.4.8/conf \ –env NEO4J_AUTH=neo4j/danone-neo4j \ neo4j:4.4.8-community
24
06/22
neo4j语法
1. "查"操作 , 查找 id 属性 为 501的节点: MATCH (r:Topic) HERE id(r) =501 RETURN r 增: CREATE(a:Article{title:"txxxxxx"}) return a; 修改: MATCH (r) WHERE id(r) = 501 SET r.test = "testtest" 删除: MATCH (r:Article) WHERE id(r) = 501 DELETE r 建立关系: MATCH (n:Topic{name:'Obesit Supplements'}),(s:Source{name:'Amazon'}) with n,s create (s)-[:BELONG]->(n) 查询不包含某个属性的节点: MATCH ...