node-odbc
A simple odbc interface for nodejs
Note: node-odbc is in early development. There might be some bugs left!
Supported types
node-odbc auto maps your types to the specific odbc types.
- number -> int32, int64, double
- string -> char, nchar, varchar, nvarchar
- date -> datetime
Examples
Callback:
let con = ; // run querycon; //insert datacon; //fetch datacon;
Promise:
let con = ; let r = async { await con; await con; let r = await con; console; // == 250}; ;
Check out the test folder to find more documentation.
Roadmap
- Add Documentation
- Add support for Linux/Darwin
- Add node:buffer support
- Add LOB data support
- Test more data sources