question

iamgroot avatar image
iamgroot asked iamgroot edited

How do I check if vertex exists before performing an update?

We have a use case where we have geo data like sub-urbs, regions , states and countries and they are related with each other as

SUBURB ---belongsto ------REGION --------belognsto--------STATE-----belongsto------COUNTRY

The data for the different nodes above is already loaded with some existing schema like

SuburbID
Name
Boundary

Now, we have to add new additional property value to the existing suburb vertices. Can we use GraphLoader in this case and try to do bulk loading of the additional properties for the existing vertices.

Typical flow should be while loading GraphLoader verifies if the vertex exist add the new property to the vertex.

Also if we cannot use graph loader, what would be the best way to add additional properties o the existing vertex.

graph
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

[Closing as duplicate of question #10328]

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.