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
Currently you can retrieve diagnostics via DbStmt::StmtError. I am wondering if this API should be renamed to convey that it can be used for retrieving diagnostics even when there isn't an error. Or maybe retain DbStmt::StmtError as an alias function to a new function named DBStmt::getStmtDiag.
Original report by Aaron Bartell (Bitbucket: aaronbartell, GitHub: aaronbartell).
Currently you can retrieve diagnostics via DbStmt::StmtError. I am wondering if this API should be renamed to convey that it can be used for retrieving diagnostics even when there isn't an error. Or maybe retain
DbStmt::StmtError
as an alias function to a new function namedDBStmt::getStmtDiag
.Thoughts?