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