You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When calling stored procedures with callProcedure(), the return value is not populated into the results object. Instead it's just undefined.
Expected behavior
The results object property "return" should have the return value from the stored procedure.
Code to reproduce
SQL to create an example stored procedure:
CREATE OR REPLACE PROCEDURE NODEODBC.test_return (
INOUT message varchar(128)
)
LANGUAGE SQL
BEGIN
set message = 'goodbye';
return 42;
END;
NodeJS code:
import odbc from 'odbc';
let conn = await odbc.connect('DSN=*LOCAL');
let parameters = ['hi there'];
let result = await conn.callProcedure(null, 'NODEODBC', 'TEST_RETURN', parameters);
console.log(result);
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
stalebot
added
the
stale
This issue hasn't seen any interaction in 30 days.
label
May 7, 2024
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
stalebot
added
the
stale
This issue hasn't seen any interaction in 30 days.
label
Aug 5, 2024
Describe your system
odbc
Package Version: 2.4.8Describe the bug
When calling stored procedures with callProcedure(), the return value is not populated into the results object. Instead it's just undefined.
Expected behavior
The results object property "return" should have the return value from the stored procedure.
Code to reproduce
SQL to create an example stored procedure:
NodeJS code:
Results from NodeJS:
Results from ACS Run SQL scripts:
The text was updated successfully, but these errors were encountered: