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

Re: [IndexedDB] Interaction between transactions and objects that allow multiple operations

From: Shawn Wilsher <sdwilsh@mozilla.com>
Date: Wed, 05 May 2010 11:02:28 -0700
Message-ID: <4BE1B2B4.7080402@mozilla.com>
To: Pablo Castro <Pablo.Castro@microsoft.com>
CC: public-webapps WG <public-webapps@w3.org>
On 5/4/2010 7:17 PM, Pablo Castro wrote:
> c) require an explicit transaction always, along the lines Nikunj's original proposal had it. We would move most methods from database to transaction (except a few properties such as version and such, which it may still be ok to handle implicitly from the transactions perspective). This eliminates this whole problem altogether at the cost of an extra step required always.
I'm rather loath about adding more asynchronous steps to do even the 
most simplest of tasks here.  What about only doing this for cursor 
operations only?  Basically, openCursor would be on the transaction 
object instead of on the database object.

Cheers,

Shawn



Received on Wednesday, 5 May 2010 18:01:16 GMT

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