sails-informix2

2.1.2 • Public • Published

Sails-Informix Adapter

IBM Informix adapter for the Sails framework and Waterline ORM. Allows you to use Informix via your models to store and retrieve data. Also provides a query() method for a direct interface to execute raw SQL commands.

Installation

Sails-Informix uses ifxnjs driver to interact with the db, so install it first.

Then, install this adapter via NPM:

$ npm install sails-informix

Sails Configuration

Add the Informix config to the config/adapters.js file. Basic options:

module.exports.adapters = {
  default: 'Informix',
 
  Informix: {
    adapter: 'sails-informix',
    host: 'onecloud',
    port: 9089,
    user: 'pawanpawar',
    password: 'password',
    database: 'informix_test_db',
    server: "onecloud",
    debug: true
  }
};

Dependencies (5)

Dev Dependencies (3)

Package Sidebar

Install

npm i sails-informix2

Weekly Downloads

1

Version

2.1.2

License

MIT

Unpacked Size

59.5 kB

Total Files

13

Last publish

Collaborators

  • pawanpawar