W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

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

From: Jeremy Orlow <jorlow@chromium.org>
Date: Wed, 4 Aug 2010 10:57:33 +0100
Message-ID: <AANLkTinr=ec2VtuxJ6hKxjsG_RAJ1Zd=cebR6V3iH0G9@mail.gmail.com>
To: ben turner <bent.mozilla@gmail.com>
Cc: public-webapps WG <public-webapps@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT