Authors: Kris Zyp
Developers:Kris Zyp
since:V1.2 is a subclass of JsonRestStore <dojo/data/JsonRestStore> for connecting to a Persevere <> server.


PersevereStore essentially has the same functionality as JsonRestStore, but has some extra adaptations for automatic creation of stores based on Persevere's introspective table/class querying.


You can create a set of stores for all available Persevere classes/tables:

myStores ="/", true); // do it synchronously
... or ..."/").then(function(results){
  // do it asynchronously
  myStores = results;

This will return a object where each property name is the name of the store, and each value is the actual store for interacting with the Persevere database.

See also