We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i try to close connection I have an error
"TypeError: Cannot read property 'close' of null"
var Database = require('jt400'); var database = new Database(); var config = { libpath: __dirname + '/jt400.jar', drivername: 'com.ibm.as400.access.AS400JDBCDriver', url: 'jdbc:as400://127.0.0.1/myDatabase;user=myUser;password=myPassword' }; database.initialize(config); database.open(); database.execute("select * from mtfusrp "); database.on('execute', function(error, results) { if (error) { console.log(error); } else { console.log(result); } }); database.close();
What is the right way to open and close a connection !
The text was updated successfully, but these errors were encountered:
Try call close method after callback is finished
Sorry, something went wrong.
No branches or pull requests
When i try to close connection I have an error
What is the right way to open and close a connection !
The text was updated successfully, but these errors were encountered: