neo4j常用cypher笔记(1)
1. apoc.path.expandConfig简单语法
match (n) where id(n)=1
call apoc.path.expandConfig(n,
{
minLevel:0,
maxLevel:1,
labelFilter:'a|b',
relationFilter:'friend|friend_1',
uniqueness:'RELATIONSHIP_GLOBAL'
})
YIELD path
WITH path
return path
minLevel 最短路径
maxL
原创
2021-11-03 16:42:00 ·
952 阅读 ·
0 评论