Skip to content

Commit 4432040

Browse files
committed
Add docs for IgnoreIndexConflict field in Mutation
1 parent 7630f61 commit 4432040

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ Sometimes, you only want to commit mutation, without querying anything further.
145145
In such cases, you can use a `CommitNow` field in `Mutation` object to
146146
indicate that the mutation must be immediately committed.
147147

148+
The `IgnoreIndexConflict` flag can be set to `true` on the `Mutation` object
149+
to not run conflict detection over the index, which would decrease the number
150+
of transaction conflicts and aborts. However, this would come at the cost of
151+
potentially inconsistent upsert operations.
152+
148153
### Run a query
149154
You can run a query by calling `Transaction#query()`. You will need to pass in a GraphQL+-
150155
query string, and a map (optional, could be empty) of any variables that you might want to

0 commit comments

Comments
 (0)