misoproject/dataset

bulk records update

Closed this issue · 3 comments

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

iros commented

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?

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

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