W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: [IndexedDB] Asynchronous inline key generation for autoIncrement'ing objectStores

From: ben turner <bent.mozilla@gmail.com>
Date: Tue, 11 May 2010 13:13:04 -0700
Message-ID: <AANLkTinJddhNSHTzM-dYdMKA05hDVZnVbvgsy4_Abddn@mail.gmail.com>
To: public-webapps WG <public-webapps@w3.org>
On Tue, May 11, 2010 at 11:10 AM, Jeremy Orlow <jorlow@chromium.org> wrote:
> No matter what, I think we shouldn't have the semantics of the sync and
> async APIs differ in such a subtle way: if the async API returns a clone +
> the generated number as its result, then the sync API should as well (vs.
> modifying the object passed in).

Oops, I didn't respond to this. I agree that we should change the sync
API to return the key value only and let the user do with it what they

Received on Tuesday, 11 May 2010 20:13:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:07 UTC