We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b24d82e commit e529ae7Copy full SHA for e529ae7
README.md
@@ -123,6 +123,12 @@ finally:
123
124
`client.query()` uses a read-only transaction to execute the query.
125
126
+To create a read-only transaction that executes best-effort queries, call
127
+`DgraphClient#txn(read_only=True, best_effort=True)`. Best-effort queries are
128
+faster than normal queries because they bypass the normal consensus protocol.
129
+For this same reason, best-effort queries cannot guarantee to return the latest
130
+data. Best-effort queries are only supported by read-only transactions.
131
+
132
### Run a mutation
133
134
`Txn#mutate(mu=Mutation)` runs a mutation. It takes in a `Mutation` object,
0 commit comments