You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone ,
I'm just new for Nebula Graph and facing some issue related to query for update the properties of vertex like other graph database use this query to update the specific property of vertex with the help of cypher language I have two vertex with given specific vid and also having relation between them and now I want to update the
property of Room tag vertex with vid "room1" wan to change but unfortunately it wont work so I just want to know is there any possibility or having query syntax which checking the relation first like this building have this specific room id then update the room property .
MATCH (b:Building{id: "building01"})-[h:having]->(r:Room{id: "room1"})
SET r.Roomname = 'King'
RETURN r
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone ,
I'm just new for Nebula Graph and facing some issue related to query for update the properties of vertex like other graph database use this query to update the specific property of vertex with the help of cypher language I have two vertex with given specific vid and also having relation between them and now I want to update the
property of Room tag vertex with vid "room1" wan to change but unfortunately it wont work so I just want to know is there any possibility or having query syntax which checking the relation first like this building have this specific room id then update the room property .
Beta Was this translation helpful? Give feedback.
All reactions