Product Documentation

FairCom SQL for Node.js

Previous Topic

Next Topic

Introduction to the Relational API for Node.js

The FairCom SQL module for Node.js (ctsql.js) enables developers to communicate with the FairCom DB SQL engine and issue data definition and manipulation and query statements.

ctsql.js is written in pure JavaScript. It has dependencies on the FairCom Direct SQL shared library (ctsqlapi). It also has dependencies on the foreign function interface (FFI) and the ref packages, which are easily available via the node package manager (npm).

In addition to this relational Node.js module, FairCom also provides a highly efficient navigational ("NAV") Node.js module: Node.js c-treeDB Module

Files:

  • ctsqlapi.js is the FFI-based c-treeSQL client.
  • ctsql.js is a convenience wrapper providing an easy-to-use API.

TOCIndex