Put in order · NestJS course · Module 3: TypeORM and Databases

Transaction lifecycle

Arrange the stages of a database transaction lifecycle:

Items to put in order

  • COMMIT (confirm) or ROLLBACK (revert)
  • Execute data operations (INSERT, UPDATE, DELETE)
  • BEGIN (start the transaction)
  • Verify that all operations succeeded

You can check the correct answer by solving this task in the CodeWorlds game.