@traverse-data/sails-memory
v0.10.10
Published
Non-persistent in-memory adapter for Sails.js / Waterline
Downloads
2
Readme
sails-memory
An in-memory object store which works great as a bundled, starter database (with the strict caveat that it is for non-production use only).
NOTE:
This version does not store objects in memory unless explicitly set via the SAILS_MEMORY_STORE
environment variable.
(OPTIONAL) Environment Variables:
SAILS_MEMORY_STORE
:'true'
- will enable the storage of created objects in local memory. Otherwise the object is transient in nature.
This adapter is compatible with Sails v0.12.x and earlier.
For Sails 1.0, use
sails-disk
with theinMemoryOnly
option. If you’re interested in upgrading the traditional, standalonesails-memory
adapter in this repo for use with Sails 1.0, please contact us.
About Sails.js
http://sailsjs.com
About Waterline
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.