mongoose-transactions
mongoose-transactions copied to clipboard
Additional Query
A parameter has been added to increase the possibilities of queries, so it is possible to make optimistic updates on transactions.
Two tests were added, one to verify the transaction by passing the additional parameter and a rollback test. In the README an example of how to pass this additional parameter has been added.
@renanpupin