Mark Irish
Mark Irish
Any changes should just have to be done in JavaScript: Connections have a .connected property that calls SQLGetConnectAttr with the SQL_ATTR_CONNECTION_DEAD option. Returns true if SQL_ATTR_CONNECTION_DEAD returns false (since it...
@worksofliam That sort of makes sense, but I thought it would be smart enough to work around it. `SQL_ATTR_CONNECTION_DEAD`, according to the ODBC spec, supposed to be a quick check...
Not stale
Not stale
@snotmare , I have remove the explicit setting of `CURSOR_TYPE` to `SQL_CURSOR_STATIC` in a `beta`-tagged release of the package. You should be able to install it with: ``` npm install...
Love to hear it! I'll try to get an official latest release out later today!
Ope! This should be fixed in the latest version (2.4.7) available on npm! ```shell npm install odbc@latest ```
@Fenderis as you use 2.0.0 beta, feel free to post any issues you run into. Very interested in making it the next-gen for ODBC on Node.js!
@Fenderis So the API for odbc 2.0 is a little different, and can be found here (if you are interested in using the new API): https://www.npmjs.com/package/odbc/v/2.0.0-beta.1 Note to create a...
I should mention that this isn't a pattern I've seen elsewhere, but it seems to work well. It is similar to packages that "promisify" callback APIs. I think the official...