a postgreSQL adapter for Waterline and Sails.js
Install is through NPM.
$ npm install sails-postgresql
The following config options are available along with their default values:
config:database: 'databaseName'host: 'localhost'user: 'root'password: ''port: 5432pool: false;
Test are written with mocha. Integration tests are handled by the waterline-adapter-tests project, which tests adapter methods against the latest Waterline API.
To run tests:
$ npm test
Waterline is a new kind of storage and retrieval engine. It provides a uniform API for accessing stuff from different kinds of databases, protocols, and 3rd party APIs. That means you write the same code to get users, whether they live in mySQL, LDAP, MongoDB, or Facebook.
To learn more visit the project on GitHub at Waterline.