ibmdb / node-ibm_db

IBM DB2 and IBM Informix bindings for node
MIT License
188 stars 151 forks source link

deferred.promise is not a function #904

Closed weslleyshavo closed 1 year ago

weslleyshavo commented 1 year ago

When calling these two methods from the lines below, the error deferred.promise is not a function is occurring after version 3.0.0, referring to enhancement #715

https://github.com/ibmdb/node-ibm_db/blob/773fde8efa66e5e1b01e12c7fbf86599409ef364/lib/odbc.js#L2209

https://github.com/ibmdb/node-ibm_db/blob/773fde8efa66e5e1b01e12c7fbf86599409ef364/lib/odbc.js#L2285

The correct one would be just deferred.promise.

bimalkjha commented 1 year ago

@weslleyshavo We have delivered fix for this issue and it would be available as part of next release. Thanks for reporting it. Closing the issue now. Thanks.