invoke
modelIdcollection.modelId(attrs) Override this method to return the value the collection will use to identify a model given its attributes
findWherecollection.findWhere(attributes) Just like where
map (collect)
shiftcollection.shift([options]) Remove and return the first model from a collection. Takes the same options as
find (detect)
rest (tail, drop)
unshiftcollection.unshift(model, [options]) Add a model at the beginning of a collection. Takes the same options as
pluckcollection.pluck(attribute) Pluck an attribute from each model in the collection. Equivalent to calling map and
reject
Page 6 of 7