Open lxiongh opened 7 years ago
neo4j-import
https://neo4j.com/docs/operations-manual/current/tutorial/import-tool/
Super CSV
http://super-csv.github.io/super-csv/examples_writing.html
MATCH (n:Person { name: 'Ann' })-[:KNOWS*1..3]-(neighbors) RETURN n, collect(DISTINCT neighbors)
Pattern matching can be used to make recommendations. Johan is learning to surf, so he may want to find a new friend who already does:
MATCH (js:Person)-[:KNOWS]-()-[:KNOWS]-(surfer)
WHERE js.name = "Johan" AND surfer.hobby = "surfing"
RETURN DISTINCT surfer
PROFILE 可以验证 Cypher 语句的效率