public Condition Where(Condition condition) { Ensure.IsNotNull(condition, "The condition is required"); return(new BooleanFunctionCondition( FunctionInvocation.Create(_predicate, new ListPredicate(_name, _listExpression, new Where(condition))))); }
public static FunctionInvocation Exists(Expression expression) => FunctionInvocation.Create(BuiltInFunctions.Predicates.Exists, expression);
public static FunctionInvocation All(Expression expression) => FunctionInvocation.Create(BuiltInFunctions.Predicates.All, expression);
/// <summary> /// See /// <a href="https://neo4j.com/docs/cypher-manual/current/functions/predicate/#functions-exists"> /// Functions Exists /// </a> /// </summary> /// <param name="pattern"></param> /// <returns></returns> public static Condition Exists(IRelationshipPattern pattern) => new BooleanFunctionCondition( FunctionInvocation.Create(BuiltInFunctions.Predicates.Exists, pattern));
/// <summary> /// See /// <a href="https://neo4j.com/docs/cypher-manual/current/functions/predicate/#functions-exists"> /// Functions Exists /// </a> /// </summary> /// <param name="property"></param> /// <returns></returns> public static Condition Exists(Property property) => new BooleanFunctionCondition( FunctionInvocation.Create(BuiltInFunctions.Predicates.Exists, property));