to understand the question correctly: is it something like (a)-[:REL_TYPE*0..1]->(b) ?
Am 12.11.2011 14:40, schrieb Andres Taylor: > Hey guys, > > We have an issue<https://github.com/neo4j/community/issues/92> on Github > that's nagging me. In Cypher, you can declare a path by assigning it to an > identifier, like so: > > MATCH p = a-->b > > The issue we have is that when the relationship between a and b are > optional, we might end up with a path that contains at least one null. Now, > my question is: > > a) Should Cypher allow paths (org.neo4j.graphdb.Path) with null in them? > > or > > b) Should Cypher just not allow you to have optional relationships assigned > to paths? > > WDYT? > > Personally, I'm leaning towards b. I don't see an use case that would be > helped by a, and a introduces problems that I'd like to avoid. > > Andrés > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user