SDK Javascript v5.x

Constructor #

Kuzzle's memory storage is a data store separate from the database layer. It uses Redis internally, and most of its underlying functions are exposed by Kuzzle.

MemoryStorage(Kuzzle) #

Arguments Type Description
Kuzzle object An instantiated Kuzzle SDK object

Usage #

Copied to clipboard!
  Constructor is not exposed in the JS/Node SDK. You may get the instantiated
  MemoryStorage object by calling Kuzzle.memoryStorage
var memoryStorage = kuzzle.memoryStorage;