@traverse-data/sails-memory

0.10.10 • Public • Published

image_squidhome@2x.png

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 the inMemoryOnly option. If you’re interested in upgrading the traditional, standalone sails-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.

githalytics.com alpha

Package Sidebar

Install

npm i @traverse-data/sails-memory

Weekly Downloads

3

Version

0.10.10

License

MIT

Unpacked Size

28.8 kB

Total Files

7

Last publish

Collaborators

  • justin-td
  • samtraverse
  • traversedata