A Path with null in it doesn't make much sense to me. I'd prefer b) also.

Den lördagen den 12:e november 2011 skrev Andres Taylor<
andres.tay...@neotechnology.com>:
> On Sat, Nov 12, 2011 at 3:02 PM, D. Frej <dieter_f...@gmx.net> wrote:
>
>> to understand the question correctly: is it something like
>> (a)-[:REL_TYPE*0..1]->(b)
>>
>
> Sorry for not being clearer...
>
> No, that pattern is safe - it will never contain a null. The optional
> relationships have a question mark in them, like this:
>
>  (a)-[?:REL_TYPE]->(b)
>
> Andrés
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>

-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to