component / model

Minimalistic extensible data models
122 stars 40 forks source link

Model.all() support params #51

Closed fengmk2 closed 1 year ago

fengmk2 commented 11 years ago
ericgj commented 11 years ago

I wrote a model plugin (ericgj/model-queries) to provide this functionality and some other related stuff - but +1 to including it in model itself. Although it does tie model even more closely to the superagent/xhr backend, and there was talk about decoupling the backend awhile back.

fengmk2 commented 11 years ago

@ericgj cool, I will take a look on it.

ianstormtaylor commented 10 years ago

i think it should be implemented as Model.all(options, fn if anything, where options.query could be params

yocontra commented 10 years ago

+1