W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: IndexedDB: updates through cursors on indexes that change the key

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 1 Feb 2011 17:17:06 -0800
Message-ID: <AANLkTikofYwx=QPY3LksT+sSJ-G-0zpvpdtidY6mS8N8@mail.gmail.com>
To: Keean Schupke <keean@fry-it.com>
Cc: ben turner <bent.mozilla@gmail.com>, public-webapps@w3.org, Jeremy Orlow <jorlow@chromium.org>, Hans Wennborg <hans@chromium.org>
On Tue, Feb 1, 2011 at 4:48 PM, Keean Schupke <keean@fry-it.com> wrote:
> Sorry, sent that before I was finished.
> Seems prone to problems in environments with multiple parallel accesses to
> the same database.

As long as you're inside a transaction, no other environments (be they
separate tabs running in a separate process, workers running in a
separate thread, or separate components running in the same page) will
be able to mutate the data under you.

/ Jonas
Received on Wednesday, 2 February 2011 01:17:58 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:30 UTC