mike-eason / oledb Goto Github PK
View Code? Open in Web Editor NEWA small promised based module which uses edge.js to connect to an OLE DB, ODBC or SQL database.
License: MIT License
A small promised based module which uses edge.js to connect to an OLE DB, ODBC or SQL database.
License: MIT License
I think dependents should be able to update or even downgrade edge-js
on their own schedule, so they can keep it in sync with their project's Node version.
oledb
, which can be locked in via devDependencies
"peerDependencies": { "edge-js": "*" }
npm update
on dependent projects will do major version bumps of edge-js
npm > 7
)To clarify, this isn't a breaking change because no edge-js
updates are automatically done after installing the new release with the peer dependency.
What do you think?
Also tried 12.18.0. Had to go all the way back to 10.16.3 to get it working. Any plans to support later versions of node?
I'm trying to use this oledb
package from an Electron 6.0.x application that uses Node.js v12.4.0.
The test code, based on the package sample, is:
const oledb = require('oledb');
const connectionString = 'Provider=SQLOLEDB;Data Source=(local)\\SQLEXPRESS;Initial Catalog=test;Persist Security Info=True;User Instance=False;User ID=sa;Password=1234;';
const command = 'select * from TestTable;';
const db = oledb.oledbConnection(connectionString);
db.query(command)
.then(result => {
console.log(result);
},
err => {
console.error(err);
});
When starting the Electron application, the following error occurs:
Is there a way I can use electron-edge-js instead edge-js package? electron-edge-js is built against the node.js versions distributed along with Electron releases.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.