Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12832

Consider updating the User Cases using Transactions where appropriate

    XMLWordPrintableJSON

Details

    Description

      Description

      For example, in the Inventory Management document the "Add an Item to a Shopping Cart" operation rolls back the cart update if there is not adequate inventory.

      I believe the first update, which adds the line item, can be aborted with a session transaction:

      https://docs.mongodb.com/manual/core/transactions/index.html

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            gianpa@gmail.com Gianfranco Palumbo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago