We’re overhauling Dgraph’s docs to make them clearer and more approachable. If
you notice any issues during this transition or have suggestions, please
let us know.
add
mutation, as shown below:
You can convert an
add
mutation to an upsert
mutation by setting the value
of the input variable upsert
to true
. For more information, see Upsert
Mutations.