apoc.when
This procedure is not considered safe to run from multiple threads. It is therefore not supported by the parallel runtime (introduced in Neo4j 5.13). For more information, see the Cypher Manual → Parallel runtime. |
Syntax |
|
||
Description |
This procedure will run the read-only |
||
Input arguments |
Name |
Type |
Description |
|
|
The predicate deciding if to run the `ifQuery`or not. |
|
|
|
The Cypher statement to run if the condition is true. |
|
|
|
The Cypher statement to run if the condition is false. The default is: ``. |
|
|
|
The parameters for the given Cypher statement. The default is: |
|
Return arguments |
Name |
Type |
Description |
|
|
The result returned from the evaluated Cypher query. |