albertoventurini / graphdb-intellij-plugin

Graph database plugin for the IntelliJ Platform
https://plugins.jetbrains.com/plugin/20417-graph-database
Apache License 2.0
52 stars 15 forks source link

Support for quantified path patterns #80

Open TomVanWemmel opened 1 year ago

TomVanWemmel commented 1 year ago

Neo4j introduced quantified path patterns and quantified relations in version 5.9

https://neo4j.com/docs/cypher-manual/current/patterns/reference/#quantified-path-patterns

The plugin does not support the following

//quantified path
MATCH ((n:A)-[:R]->({p: 30}) WHERE EXISTS { (n)-->+(:X) }){2,3}

// quantified relation
MATCH (:A) (()-[r:R]->()){2,3} (:B)

// one or more relationships of any direction and any type
MATCH (:A)--+(:B)