Skip to content

Feature: configure state in transactions #44

@quinchs

Description

@quinchs

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")
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions