전체 글 (294) 썸네일형 리스트형 [Neo4j] MATCH (Get node or relationship by elementId) / 2023.02.08 https://neo4j.com/docs/cypher-manual/current/clauses/match/#query-shortest-path MATCH - Cypher Manual The `MATCH` clause is used to search for the pattern described in it. neo4j.com *Example Graph 1. Node by elementId elementId() 함수를 사용해서 ID로 노드를 검색할 수 있음 #id가 0번인 Charlie Sheen 노드 반환 MATCH (n) WHERE split(elementId(n), ":")[2] = "0" RETURN n 2. Relationship by elementId elementId() 함수를 사용해서 관계를 .. [Neo4j] MATCH (Shortest path) / 2023.02.07 https://neo4j.com/docs/cypher-manual/current/clauses/match/#query-shortest-path MATCH - Cypher Manual The `MATCH` clause is used to search for the pattern described in it. neo4j.com *Example Graph 1. Single shortest path shortestPath() 함수를 사용하여 최단 경로 찾기 #Martin Sheen 과 Oliver Stone사이의 15홉이내 중 최단 경로 찾기 MATCH (martin:Person {name: 'Martin Sheen'}), (oliver:Person {name: 'Oliver Stone'}), p = short.. [Neo4j] MATCH (Relationships in depth) / 2023.02.07 https://neo4j.com/docs/cypher-manual/current/clauses/match/ MATCH - Cypher Manual The `MATCH` clause is used to search for the pattern described in it. neo4j.com *Example Graph CREATE (charlie:Person {name: 'Charlie Sheen'}), (martin:Person {name: 'Martin Sheen'}), (michael:Person {name: 'Michael Douglas'}), (oliver:Person {name: 'Oliver Stone'}), (rob:Person {name: 'Rob Reiner'}), (wallStreet:M.. [Neo4j] MATCH (Relationship basics) / 2023.02.06 https://neo4j.com/docs/cypher-manual/current/clauses/match/ MATCH - Cypher Manual The `MATCH` clause is used to search for the pattern described in it. neo4j.com *Example Graph CREATE (charlie:Person {name: 'Charlie Sheen'}), (martin:Person {name: 'Martin Sheen'}), (michael:Person {name: 'Michael Douglas'}), (oliver:Person {name: 'Oliver Stone'}), (rob:Person {name: 'Rob Reiner'}), (wallStreet:M.. [Neo4j] MATCH (Basic node finding) / 2023.02.06 https://neo4j.com/docs/cypher-manual/current/clauses/match/ MATCH - Cypher Manual The `MATCH` clause is used to search for the pattern described in it. neo4j.com MATCH 명령어를 사용하면 Neo4j가 데이터베이스에서 검색할 패턴을 지정할 수 있음 *Example Graph CREATE (charlie:Person {name: 'Charlie Sheen'}), (martin:Person {name: 'Martin Sheen'}), (michael:Person {name: 'Michael Douglas'}), (oliver:Person {name: 'Oliver Stone'}),.. [Neo4j] REMOVE / 2023.02.03 https://neo4j.com/docs/cypher-manual/current/clauses/remove/ REMOVE - Cypher Manual The `REMOVE` clause is used to remove properties from nodes and relationships, and to remove labels from nodes. neo4j.com REMOVE 명령어는 속성과 label을 제거하는데에 사용됨 노드 및 관계를 삭제하려면 DELETE 명령어를 사용해야 함 *Example Graph CREATE (peter:Swedish:German {name:'Peter', age:34}), (timothy:Swedish {name:'Timothy', age:25}), (andy:Swedi.. [Neo4j] SET / 2023.02.03 https://neo4j.com/docs/cypher-manual/current/clauses/set/ SET - Cypher Manual The `SET` clause is used to update labels on nodes and properties on nodes and relationships. neo4j.com * Example Graph create (peter {name:'Peter', age:34}), (george {name:'George'}), (andy:Swedish{name:'Andy', age:36, hungry:TRUE}), (stefan {name:'Stefan'}), (george)-[:KNOWS]->(peter), (andy)-[:KNOWS]->(peter), (stef.. [Neo4j] DELETE / 2023.02.03 https://neo4j.com/docs/cypher-manual/current/clauses/delete/ DELETE - Cypher Manual The `DELETE` clause is used to delete nodes, relationships or paths. neo4j.com * Example Graph CREATE (keanu:Person {name: 'Keanu Reever'}), (laurence:Person {name: 'Laurence Fishburne'}), (carrie:Person {name: 'Carrie-Anne Moss'}), (tom:Person {name: 'Tom Hanks'}), (theMatrix:Movie {title: 'The Matrix'}), (keanu.. 이전 1 ··· 4 5 6 7 8 9 10 ··· 37 다음 목록 더보기