/that-simple-objectstore

A objectstore based persistance interface for That Simple Models

Primary LanguageJavaScriptMIT LicenseMIT

That Simple ObjectStore

CircleCI

Overview

An object persistance interface for That Simple Model

Examples of its use

More detailed documentation to follow

const objectStore = new SOMETHINGObjectStore()
const myObject = new MyModel()

objectStore.put(myObject)
objectStore.get(MyModel, "primaryKey", "secondaryKey")
objectStore.query(MyModel, {})
objectStore.remove(myObject)