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