Run a dql mutation in slash dgraph lambda

It is dql.mutate(): dgraph-lambda/slash-graphql-lambda-types/types.d.ts at master · dgraph-io/dgraph-lambda · GitHub

BTW, the thing you have written as a mutation in dql.query(), is actually a GraphQL mutation, not a DQL one:

Sorry, we do not have this bit in our docs. We will update our docs to reflect this.

Thanks

1 Like