Hi,
so happy that you’ve decided to use Dgraph. I’m here to help.
You generally want to do an upsert. But upserts in GraphQL is Hard. If it’s a one-off, you might do with some custom DQL. I can show you how too.
The general process (in GraphQL) looks like this:
- create the
Members without theConcepts. This is doable because you have no!in yourconceptsfield. - For each member, use
updateMemberto add concepts
Let’s get you over to the dark side! We have cookies.