public override AnyValue MapRelationship(VirtualRelationshipValue value) { if (value is RelationshipValue) { // Note: we do not want to keep a reference to the whole relationship value as it could contain a lot of data. return(VirtualValues.relationship(value.Id())); } return(value); }
public override Value MapRelationship(VirtualRelationshipValue value) { throw new CypherTypeException("Don't know how to treat that as a boolean: " + value, null); }