Skip to content

OLE DB communications on Windows via C# System.Data.OleDb and Edge.js.

License

Notifications You must be signed in to change notification settings

okusnadi/edge-oledb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

OLE DB communications on Windows via C# System.Data.OleDb and Edge.js.

Resources

License

Stars

Watchers

Forks

Packages

No packages published