programming/database
neo4j 유용한 cypher 쿼리
jamie91
2025. 3. 5. 10:51
반응형
labelCount, relTypeCount, propertyKeyCount, nodeCount, relCount, labels, relTypes, stats 조회
CALL apoc.meta.stats()
모델 데이터 한눈에 보기
CALL apoc.meta.graph
모든 relationship 타입 조회
MATCH ()<-[r]-() return DISTINCT TYPE(r)
모든 라벨 조회
CALL db.labels()
특정 노드의 라벨 조회
MATCH (a: {name:'Jane Doe'})
RETURN distinct labels(a)
728x90
반응형