public void PredicateAll() { var compoundCondition = new CompoundCondition(Operator.And); Node bikeNode = Cypher.Node("Bike"); Relationship userBikes = _userNode.RelationshipTo(bikeNode, "OWNS"); compoundCondition.Add(Predicates.Exists(userBikes)); SymbolicName userOwns = Cypher.Name("userOwns"); //var test = Cypher.ListWith(userOwns).In(); StatementBuilder statement = Cypher .Match(new Where(compoundCondition), _userNode) .Return(_userNode); statement.Build().MatchSnapshot(); }
private void LeaveVisitable(CompoundCondition _) => _writer.Write(")");
private void EnterVisitable(CompoundCondition _) => _writer.Write("(");