-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
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
Consistent Column count with null values across resultset #26
base: master
Are you sure you want to change the base?
Conversation
@@ -35,7 +41,7 @@ function Sybase(host, port, dbname, username, password, logTiming, pathToJavaBri | |||
Sybase.prototype.connect = function(callback) | |||
{ | |||
var that = this; | |||
this.javaDB = spawn('java',["-jar",this.pathToJavaBridge, this.host, this.port, this.dbname, this.username, this.password]); | |||
this.javaDB = spawn('java',["-jar",this.pathToJavaBridge, this.host, this.port, this.dbname, this.username, this.password, this.allowNull]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting an error when allowNull is set to true
Error: Expecting the arguments: host, port, dbname, username, password
Hi! This repo is no longer maintained (nobody here has access to a Sybase instance to test it anymore), so I'm afraid this is pretty unlikely to get merged. |
I'm having this same problem, can anyone accept the pull request? can i help to test |
I am having the same problem. This is a big show stopper. |
If anyone is ready to accept this, I can rebase and resolve conflicts. |
Issue Reference: #25
Description:
The previous version was ignoring the columns having
null
values for any records at any position.allowNull
as an optional parameter to includenull
valued columns in the response JSON for maintaining the consistent column count across rows. If not passed, then the driver will work as earlier. No need to change anything, already backward compatible.TODOs: