我想要将关系计数(no_of_relationships)连接到路径中的每个节点。
MATCH (parent:Members {id:"1", position:"R"})-[:PARENT_OF]->(child)
WHERE no_of_relationship < 1
所以,我希望获得此路径中 no_of_relationship 所在的所有节点&lt; 1
我的问题是如何获得 no_of_relationship
谢谢你们。
答案 0 :(得分:1)
我找到了解决问题的方法
include(ExternalProject) # Include definition of 'ExternalProject_Add' function
ExternalProject_Add(live555 # Name of the target. Could be any
# Setup source directory
SOURCE_DIR <path-to-directory-with-external-project>
# Setup build directory. Here it is the same as source one.
BUILD_IN_SOURCE 1
# Configuration step
CONFIGURE_COMMAND ./genMakefiles linux
# Build step. It is actually `make`, but in a wise manner.
BUILD_COMMAND ${CMAKE_MAKE_COMMAND}
# Disable install step
INSTALL_COMMAND ""
)
谢谢你们。