How to use the odbc.Database function in odbc

To help you get started, we’ve selected a few odbc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Sannis / node-mysql-benchmarks / src / odbc.js View on Github external
process.stdin.on('end', function() {
    var results = {},
        callback = function() {
          process.stdout.write(JSON.stringify(results));
        };
    try {
      OdbcDatabase = require('odbc').Database;
    } catch (e) {
      callback(results);
      return;
    }
    initBenchmark(results, callback, JSON.parse(cfg));
  });
  process.stdin.resume();

odbc

unixodbc bindings for node

MIT
Latest version published 3 months ago

Package Health Score

76 / 100
Full package analysis

Popular odbc functions