Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.28 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.28 KB

edge-oledb

A module that enables OLE DB communications on Windows via C# System.Data.OleDb and Edge.js.

This module is very fast as it uses C# System.Data.OleDb and does not use any other external processes to run ole commands.

Example

var oledb = require('edge-oledb');

var options = {
	dsn: "Provider=vfpoledb.1; Data Source=C:/mydb/mydb.dbc; Mode=ReadWrite|Share Deny None;",
	query: "SELECT * FROM customers WHERE type = 'C'"
}

oledb(options, function(error, result){
	if (error) throw error;
	console.log(result);
});	

Inspiration

There was a need for an interface to an old system written in FoxPro, and the only available nodejs adodb/oledb modules at the time were slow/problematic/used external programs

Installation

$ npm install edge-oledb

More Info

People

Written by Brian Taber DaSpawn's Gratipay

License

MIT