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.
SAILS_MEMORY_STORE
:'true'
- will enable the storage of created objects in local memory. Otherwise the object is transient in nature.
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.
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.