Re: [Neo4j] OPTIONAL MATCH

2018-04-12 Thread Eve Freeman
In this case why do you need to start on the relationship? Can you start with student + relationship instead? Can you explain in English what you’re trying to ask of be database? Eve On Thu, Apr 12, 2018 at 10:00 AM Marwa Elabri wrote: > I have two kind of query > the first one I start from a

Re: [Neo4j] OPTIONAL MATCH

2018-04-12 Thread Marwa Elabri
I have two kind of query the first one I start from a node such as match (n:student) optional math (n)-[R:takes]-(n2:course) return n, n2 The second kind of request: I have to start (point) from a relationship such as: match ()-[R:takes]-() optional match ()-[R:takes]-(n:student) optional matc

Re: [Neo4j] OPTIONAL MATCH

2018-04-12 Thread Eve Freeman
Without a query it’s hard to help you on this... Often, I tell people to start with a match of what you know exists, and then do an optional match for what you’re not sure exists, like: match (p:Person) // we want to get all Person nodes optional match (p)-[:FOLLOWS]->(maybe:Person) return p.name

[Neo4j] OPTIONAL MATCH

2018-04-12 Thread Marwa Elabri
Hello please are there another clause that replace optional match in cypher query language because I want to get null value from my neo4j database but when I use *optional mach* with a huge database the request execution takes a lot of time Thank you in advance -- You received this me

[Neo4j] optional match in big graph database

2017-03-13 Thread Marwa Elabri
when I use an optional match clause in a simple cypher query like the following: MATCH ()-[R0:relationshipclazz0]-() OPTIONAL MATCH ()-[R0:relationshipclazz0]->(N0:entityclazz0) WITH distinct R0, R0.att0 as AR0att0, N0 WITH ID(R0) as i, R0.att0 as O1, (N0.att0) as O2, R0 RETURN O1, O2, c

[Neo4j] optional match/query time

2016-04-22 Thread Marwa Elabri
in my database I have students that are enrigtrated in courses (student)-[registration]-(course) I want to get the intelligence of all student, and the intelligence of student who take the same courses taht take the first student to wich I point I make this request this answer exxactly to what

Re: [Neo4j] optional match

2016-04-21 Thread Marwa Elabri
in my database i have students that are enrigtrated in courses (student)-[registration]-(course) i want to get the intelligence of all student, and the intelligence of student who take the same courses taht take the first student to wich i point I make this request this answer exxactly to wha

Re: [Neo4j] optional match

2016-04-13 Thread 'Michael Hunger' via Neo4j
Please share your full query. On Wed, Apr 13, 2016 at 12:32 PM, Marwa Elabri wrote: > i want to use a match close after an optional match close and this return > an error that i have to use a with close between them when i try to make > this > this still do not work > > > -- > You received this

[Neo4j] optional match

2016-04-13 Thread Marwa Elabri
i want to use a match close after an optional match close and this return an error that i have to use a with close between them when i try to make this this still do not work -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this

Re: [Neo4j] Optional match & property updates don't work together

2014-01-28 Thread Peter Neubauer
Awesome, thanks Jon! /peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer Neo4j 2.0.0 - (graphs)-[:FOR]->(everyone) Kids L

Re: [Neo4j] Optional match & property updates don't work together

2014-01-28 Thread Jon Packer
No worries. Added the issue here https://github.com/neo4j/neo4j/issues/1876 Thanks for the help Peter :) Jon On Tuesday, 28 January 2014 13:55:29 UTC+1, Peter Neubauer wrote: > > Hi Jon, > yes, this looks like a bug, could you please file one? have done a gist on > it, see http://gist.neo4j.org

Re: [Neo4j] Optional match & property updates don't work together

2014-01-28 Thread Peter Neubauer
Hi Jon, yes, this looks like a bug, could you please file one? have done a gist on it, see http://gist.neo4j.org/?8667135 /peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer Neo4j 2.0.0 - (

[Neo4j] Optional match & property updates don't work together

2014-01-27 Thread Jon Packer
Hi! I'm trying to do some property updates with an OPTIONAL MATCH, and having a bit of trouble. It's OK when the OPTIONAL MATCH's pattern matches something, but when it doesn't, I get a "ThisShouldNotHappenError" with the message "Developer: Stefan claims that: This should be a node or a relat