apoc.scoring.existence 详情 语法 apoc.scoring.existence(score, exists) 描述 如果为 true,返回给定分数;如果为 false,返回 0。 参数 名称 类型 描述 score INTEGER 如果存在为 true,则返回的分数。 exists BOOLEAN 是否返回分数。 返回值 FLOAT 使用示例 RETURN apoc.scoring.existence(10,true) AS output; 结果 输出 10.0 RETURN apoc.scoring.existence(10,false) AS output; 结果 输出 0.0 apoc.scoring apoc.scoring.pareto