Uploaded image for project: 'CUBRID APIs'
  1. CUBRID APIs
  2. APIS-610

Implement a functionality to return the number of affected rows (updated/deleted/inserted)

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: node-cubrid 3.0.0
    • Component/s: Node.js
    • Labels:
      None

      Description

      Implement a functionality to return the number of affected rows (updated/deleted/inserted).

      Related conversation on node-mysql https://github.com/felixge/node-mysql/issues/251.
      node-mysql example for affectedRows https://gist.github.com/avimar/3157257.

      We will need to introduce a result object which will be returned after ever WRITE query. The result object will have an affectedRows property which will represent a number of actually affected/changed rows.

      One difference between MySQL and CUBRID in this sense is that CUBRID always updates the row if the condition matches. In contrast, MySQL reports that a row has matched by was not updated if the target column has identical data.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            kadishmal Esen Sagynov
            Reporter:
            kadishmal Esen Sagynov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 1 week
              1w
              Remaining:
              Remaining Estimate - 1 week
              1w
              Logged:
              Time Spent - Not Specified
              Not Specified