backbone-lite-orm
v0.0.2
Published
Create ORM collection
Downloads
2
Readme
Create ORM collection
var User = Backbone.ORM.Model.extend({
urlRoot: '/api/users'
});
var Users = Backbone.ORM.Collection.extend({
model: User
});
ORMCollection.fetch({status: 1}).then(function(users){
});