Give your data the treatment it deserves with a framework-agnostic, datastore-agnostic JavaScript ORM built for ease of use and peace of mind. Works in Node.js and in the Browser. Main Site: http://js-data.io, API Reference Docs: http://api.js-data.io/js-data
MIT License
Bot releases are visible (Hide)
Published by jmdobry over 9 years ago
Published by jmdobry over 9 years ago
Published by jmdobry over 9 years ago
Published by jmdobry over 9 years ago
Published by jmdobry over 9 years ago
DSUtils.copy
when saving "original" attributes so changes can be computed properlyPublished by jmdobry over 9 years ago
DSUtils.copy
in the event hooks. This should increase performance quite a bit.Published by jmdobry over 9 years ago
Published by jmdobry over 9 years ago
DS#find
Published by jmdobry over 9 years ago
Published by jmdobry over 9 years ago
DS#is(resourceName, instance)
or Resource#is(instance)
method to check if an object is an instance of a particular resourcePublished by jmdobry over 9 years ago
Published by jmdobry over 9 years ago
getResource(resourceName)
method to resource definitions so adapters can grab the definitions of a resource's relationsPublished by jmdobry over 9 years ago
Published by jmdobry over 9 years ago
orderBy: 'foo.bar'
get
and set
methods to the instance prototype for getter/setter manipulation of data store items. Use of set
will trigger immediate recalculation of computed properties on the instance. Both get
and set
support nested key names.removeCircular
util method so cyclic objects can be saved without fusscontains
operator to the default filtercreateInstance
callsPublished by jmdobry over 9 years ago
Stable Version 1.0.0
Published by jmdobry over 9 years ago
Published by jmdobry almost 10 years ago
useFilter
option was added, which defaults to false
. Previously DS#filter
was used to return cached findAll
queries, but that had problems. Now, cached items are also tracked by the query that retrieved them, so when you make a query again you consistently get the right data.Published by jmdobry almost 10 years ago
Published by jmdobry almost 10 years ago
Published by jmdobry almost 10 years ago