sails-informix
v2.1.1
Published
sails-informix adapter for Sails / Waterline
Downloads
8
Maintainers
Readme
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
}
};