美文网首页
neo4j Cypher

neo4j Cypher

作者: tolushe | 来源:发表于2022-06-14 19:59 被阅读0次
#多种关系筛选 用 | 分隔
MATCH (wallstreet {title: 'Wall Street'})<-[:ACTED_IN|:DIRECTED]-(person)
RETURN person.name

#属性为List,过滤方法 “IN”
MATCH (n:Genre{name:'Fantasy'})-[]-(m:Movie)
WITH m.languages AS LNG,n,m
WHERE ' Japanese' IN LNG and 'English' IN LNG
RETURN n,m LIMIT 25

相关文章

网友评论

      本文标题:neo4j Cypher

      本文链接:https://www.haomeiwen.com/subject/bdizmrtx.html