cockroach-go icon indicating copy to clipboard operation
cockroach-go copied to clipboard

Need variants of ExecuteInTx and ExecuteTx that take a `fn(context.Context, ...)` as arg

Open knz opened this issue 3 years ago • 0 comments

The ExecuteTx and ExecuteInTx APIs take a function callback that only takes either no argument or a tx object.

We want to pass a callback instead that takes the context as argument.

cc @rafiss

knz avatar Feb 11 '22 13:02 knz