Sukaant, can we please have a GraphGist <http://gist.neo4j.org/?5956246>or
data at http://console.neo4j.org indicating what kind of result you're
expecting.
Also please go through
http://docs.neo4j.org/chunked/stable/query-optional-match.html to figure
out whether optional match is suited for your query.

-Luanne


On Mon, Mar 10, 2014 at 6:47 PM, Sukaant Chaudhary <
[email protected]> wrote:

> Hi,
> Here in Optional Match I'm getting only those values which are having
> following relations with node 4 but I want all the values which are not
> having these relations with node 4.
> Please help me.
>
> START m=node(4)
> OPTIONAL MATCH
> (m)-[r:FOLLOWED_BY|CREATED_BY|FOLLOW_PENDING]->(n)-[l:LOCATION]->(t)
> WITH r, n, l, t
> WHERE has(n.timeBoardName)
> AND n.timeBoardName =~ "(?i).*"
> RETURN r, n, t;
>
> -Sukaant Chaudhary
>
> [image: 
> linkedinbutton]<http://in.linkedin.com/pub/sukaant-chaudhary/33/ba8/479/>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

<<inline: image002.jpg>>

Reply via email to