Note that you don’t need to specify all the properties you want to update,
only the ones you want to change.For example, if you only want to update the name, you can do:
The following examples would not work as the types don’t match
Copy
Ask AI
QUERY UpdateUser(userID: ID) => // No email field in Person node updatedUsers <- N<Person>(userID)::UPDATE({ email: "john@example.com" }) // Age as string instead of U32 updatedUsers <- N<Person>(userID)::UPDATE({ age: "Hello" }) RETURN updatedUsers