I have a schema like below:
type User {
user_name
pwd
projects
}
type Project {
name
description
}
user_name: string @index(hash) @upsert .
pwd: password .
projects: [uid] .
name: string @index(hash) @upsert .
description: string .
Now I have a user node <0x9c43>, and a project node <0x8i78>, so how can I append the project node to the user’s projects predicate with upsert using Nquad?