spinelsun
(Or Chen)
November 17, 2020, 9:10am
1
Hi,
Do you already support transactions in GQL.
I need to send several mutations - some add new nodes and some update existing ones and if something goes wrong I want to revert all of them
MichelDiz
(Michel Diz)
November 17, 2020, 3:48pm
2
Nope, but we have an RFC for this.
spinelsun
(Or Chen)
November 17, 2020, 4:37pm
3
I found this pull request:
dgraph-io:release/v20.03
← dgraph-io:harshil-goel/release20-6
opened 09:38AM - 20 May 20 UTC
Adds transaction system to graphql mutations
<!--
Please add a description w… ith these things:
1. A good title
2. A good description explaining the problem and what you changed.
3. If it fixes any GitHub issues, say "Fixes #GitHubIssue".
4. If it corresponds to a Jira issue, say "Fixes DGRAPH-###".
5. If this is a breaking change, please prefix the title with "[Breaking] ".
-->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/dgraph-io/dgraph/5485)
Docs Preview: [<img src="https://bl.ocks.org/prashant-shahi/raw/3a9f99bec84231cfe3c0e82cf883f159/0e588d908ad8c8b10958b87ebdd2ba68779ccf4f/dgraph.svg" height="34" align="absmiddle" alt="Dgraph Preview"/>](https://dgraph-d46bac604a-65468.surge.sh)
but there is no reference for it anywhere.
I searched in the release notes and the docs.