store.filter({ foo: 'bar' })
.sort({
property: 'baz',
descending: true
})
.forEach(function (object) {
console.log(object);
});
The API stays consistent regardless of what type of store you're using. It's all Promises/A, baby.
Several store types are included by default: in-memory, RESTful, read-only, cacheable, and trackable.
A modular AMD architecture makes dstore components a breeze to use in any application.
dstore supports models. Use models based on dmodel or provide your own, and dstore will provide model objects in your query results.
We've written several detailed tutorials to help you get started quickly and we're always writing more.
dstore is New BSD licensed and is a JS Foundation project.