Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15349

Bugyard feedback #4: Fix code snippet on SQL transactions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10, 2.11
    • 2.11
    • None

    Description

      We need to fix  the second code snippet on SQL Transactions doc page:

       

      BEGIN;
      INSERT INTO Person (id, name, city_id) VALUES (1, 'John Doe', 3);
      UPDATE City SET population = population + 1 WHERE id = 3;
      

       

      This code snippet appears to be a duplicate of the preceding one and does not actually show how to "Roll back the changes...".

      Attachments

        Issue Links

          Activity

            People

              igusev Igor Gusev
              igusev Igor Gusev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h