Re: [w3c/IndexedDB] Return number of records deleted (#32)

I'm very familiar with verbose APIs like what you're going for with #2 (Objective-C, Cocoa-style) and I don't think there's a place for them in a context like this.

>From an API naming perspective, "deleteWithCount" sounds much more like the function will also take a "count" argument.

I was already thinking #1 was the way to go.

A options object with "currently allows only one option" is not a problem. I wonder if "count:" is descriptive enough - It feels a little lightweight to me, though I don't have a better alternative ATM.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/32#issuecomment-224801787

Received on Thursday, 9 June 2016 05:15:14 UTC