Feature: configure state in transactions
quinchs opened this issue · comments
Quin Lynch commented
Currently, there's no way to configure state within transactions. The API for state on the client should be accessible on the tx
object like so:
var result = await client.TransactionAsync(async (tx) =>
tx.WithGlobals(new Dictionary<string, object>
{
{ "abc": 123L }
})
.QuerySingleAsync<long>("select global abc")
);