The void is spreading. Beware.

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org              - NOSQL for the Enterprise.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.


On Tue, Nov 15, 2011 at 8:50 AM, Mattias Persson
<matt...@neotechnology.com>wrote:

> That may be a good solution, because you could not treat such a path (if it
> were to have null in it somewhere) in a normal fashion anyway.
>
> 2011/11/15 Andres Taylor <andres.tay...@neotechnology.com>
>
> > I just realized the obviousness of the truth.
> >
> > The optional bit is viral - it spreads out if it can. So, a path pointing
> > to an optional relationship, is it self optional. Just like nodes hanging
> > from an optional relationship are also optional.
> > So, if the path happens to have any null parts, the whole path is null.
> >
> > Makes sense?
> >
> > Andrés
> >
> > On Sun, Nov 13, 2011 at 1:11 PM, Mattias Persson
> > <matt...@neotechnology.com>wrote:
> >
> > > 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
> > >
> > _______________________________________________
> > 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
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to