misoproject / dataset

JavaScript library that makes managing the data behind client-side visualisations easy
http://misoproject.com
GNU General Public License v2.0
1.18k stars 99 forks source link

bulk records update #162

Closed alexgraul closed 12 years ago

alexgraul commented 12 years ago

Modify the .update API to accept a bulk update of records.

iros commented 12 years ago

If you pass a filter as the first function it should then update all the records that match with the new properties. Is this a different behavior you're proposing?

alexgraul commented 12 years ago

Yes. Needed for the uniqueAgainst stuff where you want to update a bunch of rows with arbitary changes unique to each row at once without separate events for every row

On 26 Aug 2012, at 17:07, Irene Ros notifications@github.com wrote:

If you pass a filter as the first function it should then update all the records that match with the new properties. Is this a different behavior you're proposing?

— Reply to this email directly or view it on GitHub.

iros commented 12 years ago

We are grouping this issue into a larger api change upcoming in 0.4. Check out issue #168 for more details.