Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: 1.2.0.RC1
    • Fix Version/s: 1.2.0.FINAL
    • Component/s: Database
    • Labels:
      None

      Description

      DatabaseTemplate.execute() is used to perform inserts, and returns number of rows affected. Add insert_and_return_id to instead return lastrowid, which is the last row inserted. This is very useful when inserting lots of rows of data, and user wants handed back the new primary key values created.

        Activity

        Hide
        Greg Turnquist added a comment -

        Coded tests, solution, and documentation.

        Show
        Greg Turnquist added a comment - Coded tests, solution, and documentation.

          People

          • Assignee:
            Greg Turnquist
            Reporter:
            Greg Turnquist
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: