Using the MATCH statement in NebulaGraph database fails

87 Views Asked by At

I have NebulaGraph database version 3.1.2 running in my AWS environment and I am testing basic openCypher.

If I run MATCH (n:Person{lastName:"Brown"})-[e:LIKES_COMMENT]-(m) RETURN m.locationIP, it fails to retrieve the user IP. Not sure where it went wrong. It should be a valid openCypher statement and Nebula Graph supports openCypher.

Simply returning m works. Screenshot is as follows:

enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

As it propmpted, we should use var.TagName.PropName like

m.Comment.locationIP

This is one of where it differentiated from the vanilla OpenCypher in NebulaGraph.