Mongo::Commands::AbortTransaction
Terminates the multi-document transaction and rolls back any data changes made by the operations within the transaction. That is, the transaction ends without saving any of the changes made by the operations in the transaction.
NOTE: for more details, please check the official MongoDB documentation.
Class methods
name
Instance methods
command(options = nil)
Returns a pair of OP_MSG body and sequences associated with the command and arguments.