bitnine-oss / agensgraph

AgensGraph, a transactional graph database based on PostgreSQL
http://www.agensgraph.org
Other
1.33k stars 148 forks source link

Support for multiple labels #509

Open charmixer opened 4 years ago

charmixer commented 4 years ago

Hey,

Shouldn't it be possible to use multiple labels as the openCypher documentation describes? https://s3.amazonaws.com/artifacts.opencypher.org/openCypher9.pdf in "Patterns for labels".

When I try to execute a query it gives a syntax error:

create (n:A:B) return n;
ERROR:  syntax error at or near ":"
LINE 1: create (n:A:B) return n;
                   ^

match (n:A:B) return n;
ERROR:  syntax error at or near ":"
LINE 1: match (n:A:B) return n;
                  ^