When starting a new console session the default cypher parser expects the new 2.0 RC1 syntax, but the "Clear DB" button still generates the old 2.0 milestone cypher for optional paths.
Query:
START n=node(*)
MATCH n-[r?]-m
WITH n, r
DELETE n, r
Error: Question mark is no longer used for optional patterns - use OPTIONAL MATCH instead (line 1, column 25)
"START n=node(*) MATCH n-[r?]-m WITH n, r DELETE n, r"
When starting a new console session the default cypher parser expects the new 2.0 RC1 syntax, but the "Clear DB" button still generates the old 2.0 milestone cypher for optional paths.