If I understand correctly, I should refactor my code to use “new” style of upserts, called “Upsert Block”, using this example as a reference: GitHub - dgraph-io/dgo: Official Dgraph Go client
This “new” style of upserts should work in ludicrous mode.
Is this conclusion correct?
What confuses me is that “new” style upsert block uses transactions as well.
From the example:
// Update email only if matching uid found.
if _, err := dg.**NewTxn()**.Do(ctx, req); err != nil {
log.Fatal(err)
}