Closed trevornagy closed 2 weeks ago
It is not possible but we can think about it. Either to add more functions like immediate_transaction_guard
or adding enum
argument to transaction_guard
@trevornagy please check dev
branch for new API deferred_transaction_guard
, immediate_transaction_guard
and exclusive_transaction_guard
By default the
transaction_guard
API calls:begin_transaction
.Would it be possible to add to the
transaction_guard
API a way to specify the type of transaction? For example, what if I want to usetransaction_guard
+begin_immediate_transaction
/transaction_guard
+begin_exclusive_transaction
?Is this possible?
Thanks!