ODBC Driver for CockroachDB

Build 24.0.9060

Dependencies

This section describes the dependencies for using Node.js with the CData ODBC Driver for CockroachDB.

Configure unixODBC (Linux and Mac Only)

node-odbc uses unixODBC on Linux and Mac, so make sure the driver is configured as described in Using unixODBC before continuing.

Install node-odbc

You can install node-odbc using NPM.

npm install odbc

Using node-odbc

Before using node-odbc, you need to require it.

var Database = require("odbc").Database;

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060