Re: [IndexedDB] Need a method to clear an object store

On Tue, Aug 3, 2010 at 11:02 PM, ben turner <bent.mozilla@gmail.com> wrote:

> On Tue, Aug 3, 2010 at 12:20 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> > I think there is a bug in the above proposal though. clear() should
> > return a IDBRequest. However the .result of the request should likely
> > be null.
>
> Yes, definitely. My fingers were too fast for my brain.
>

I think adding a clear seems reasonable and shouldn't be that much overhead
or surface area.

J

Received on Wednesday, 4 August 2010 09:58:22 UTC