modelcollection.model([attrs], [options]) Override this property to specify the model class that the collection contains. If defined
sample
reduceRight (foldr)
groupBy
setcollection.set(models, [options]) The set method performs a "smart" update of the collection with the passed list of models
idAttributemodel.idAttribute A model's unique identifier is stored under the id attribute. If you're directly communicating
every (all)
"request" (model_or_collection, xhr, options) â when a model or collection has started a request to the server.
constructor / initializenew Router([options]) When creating a new router, you may pass its
wherecollection.where(attributes) Return an array of all the models in a collection that match the passed attributes. Useful
Page 2 of 16