Re: [Neo4j] case question

2016-08-23 Thread Koen Kleingeld
hi michael , thanks !, will try it the other way around .. reg Koen 2016-08-22 16:45 GMT+02:00 'Michael Hunger' via Neo4j < neo4j@googlegroups.com>: > In general clauses are not supported within CASE only expressions. > > Fortunately you can rewrite your query > > USING PERIODIC COMMIT > LOAD CS

Re: [Neo4j] case question

2016-08-22 Thread 'Michael Hunger' via Neo4j
In general clauses are not supported within CASE only expressions. Fortunately you can rewrite your query USING PERIODIC COMMIT LOAD CSV WITH HEADERS FROM "file:///incident.csv" AS line MERGE (incident:Incident { id: TOINT(line.incidentId) }) SET incident.session = line.session, incident.allegati

[Neo4j] case question

2016-08-22 Thread koen
Hi, i have created a neo4j graph database with formula 1 data based on data found on ergast.com developer api. All well sofar. Now i want to use a multi line case kind of statement in cypher in order to do a match based on the content of a field in the input file but i cannot make the case stat