在哪里可以找到有关 Neo4j 中 apoc relationShipFilter 的更详细帮助

Where can I find more detailed help about apoc relationShipFilter in Neo4j

我使用了一些 apoc 函数(感谢 InversFalcon). And I found some helpful information on this site

但是relationShipFilter只是在一些函数中使用,没有详细解释:)

有一些示例,但不是完整的语法。我想排除一个关系,我希望它有一个语法。

这是一个代码,我想用它的地方:

                IStatementResult result = session.Run(
                $"         MATCH (g:Graph)                                     \n" +
                $"         WHERE g.Database = '{Name}'                         \n" +
                $"           AND g.Name     = '{graph.Name}'                   \n" +
                $"          CALL apoc.path.subgraphNodes( g, {{ }}) YIELD node \n" +
                $" DETACH DELETE node                                          \n" );

并且apoc.path.subgraphNodes接受一个参数relationshipFilter。

关系语法和示例是 here,但目前没有办法排除关系。

相反,您需要获取图表中的所有关系类型,过滤掉那些您不想要的,然后将剩余的类型连接到一个可以传递给过滤器的字符串中,如 [=11= 中所述] 类似的问题。