Updating a node using the Go client

Hi, I was trying to do CRUD operations and was trying to figure out how to update a node, I came accross upserts, but am still unclear on how to do it with go client.

That is your data, for example :

p := Person{
    Name: "Bob",
    Age:  24,

Get the uid of Bob from this :

bob := assigned.Uids["blank-0"]

Your can reference its uid and update the information related to that uid.

2 Likes