apoc.scoring.existence
Function
apoc.scoring.existence(score Integer, exists Boolean)
- returns the given score if true, 0 if false.
Usage Examples
RETURN apoc.scoring.existence(10,true) AS output;
output |
---|
10.0 |
RETURN apoc.scoring.existence(10,false) AS output;
output |
---|
0.0 |
Was this page helpful?