$ npm install sails-dirty
Sails.js adapter for the great felixge's Dirty database. (https://github.com/felixge/node-dirty) Dirty is an in-memory and disk-persisted JSON store which works great as a bundled, starter database (with the strict caveat that it is for non-production use only).
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. Waterline also comes with built-in transaction support, as well as a configurable environment setting.
It's easy to add your own adapters for integrating with proprietary systems or existing open APIs. For most things, it's as easy as require('some-module')
and mapping the appropriate methods to match waterline semantics.
© 2010 - cnpmjs.org x YWFE | Home | YWFE