IBM / nodejs-idb-connector

A JavaScript (Node.js) library for communicating with Db2 for IBM i, with support for queries, procedures, and much more. Uses traditional callback-style syntax
MIT License
38 stars 23 forks source link

How to get the sql update statement number of records affected ? #117

Closed benli2023 closed 4 years ago

benli2023 commented 4 years ago

In commit control ,when a sql update statement executed ,the return result is undefined ,and if no records affected , the error will return .

Problem: i am unable to get the number of records affected

can the update statement have the count of records affected, just like mysql behavior ?