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
will.

-Ben
Received on Tuesday, 11 May 2010 20:13:37 GMT

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