Yes, that would work. The challenge with this kind of graph is that I've got to go in different directions from the start node to find the result and those paths are difficult to combine and the have optional sub-paths. At the end of the day, I still want person nodes- rows with multiple columns each for a person, with some columns per row possibly null is a bit of a pain to deal with.
Sent from my iPad
On 28-Apr-2012, at 1:47 PM, Andres Taylor <andres.tay...@neotechnology.com> wrote:
> On Fri, Apr 27, 2012 at 8:41 PM, Luanne Coutinho <luanne.couti...@gmail.com> wrote:
> For a query like this:
> start n=node(13), targetPerson=node(17)
> is there a way to transpose this single row result into multiple rows with a single column?
> e.g if the result is-
> can I somehow get:
> Or could I concatenate the two columns into a delimited one such as:
> (like a COLLECT)?
> Interesting idea. Right now, no you can't. But if you could concatenate lists of stuff, something like this might work:
> return collect(person.name) + collect(friendProfile.name)
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.