crandas.transactions
Transaction implementation.
Transaction(*, session=None, add_nonce=False, _keep=None, **execute_args)
Transaction context manager
When used as a context manager (i.e., in a with Transaction(): block),
causes all commands in the context to be executed at the server as a
single unit.
Start a transaction.
Takes command and execution options.
The only accepted command option is add_nonce (default False)
which is applied to all commands of the transaction.
Execution options are applied to the transaction as a whole.
See Query Arguments for more information.