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

Re: [IndexedDB] Implicit transactions

From: Shawn Wilsher <sdwilsh@mozilla.com>
Date: Wed, 04 Aug 2010 10:33:05 -0700
Message-ID: <4C59A451.5000504@mozilla.com>
To: Jeremy Orlow <jorlow@chromium.org>
CC: public-webapps WG <public-webapps@w3.org>
  On 8/4/2010 8:42 AM, Jeremy Orlow wrote:
> In the IndexedDB spec, there are two ways to create a transaction.  One is
> explicit (by calling IDBDatabase.transaction()) and one is implicit (for
> example, by calling IDBDatabase.objectStore.get("someKey")).  I have
> questions about the latter, but before bringing these up, I think it might
> be best to give a bit of background (as I understand it) to make sure we're
> all on the same page:
>
If I recall correctly, the original proposal from us basically said that 
IDBDatabase.objectStore("foo", [mode]) was just a shortcut for 
IDBDatabase.transaction("foo", [mode]).getObjectStore("foo");  I'm not 
sure if putting some text like that would help make things clearer though.

Cheers,

Shawn



Received on Wednesday, 4 August 2010 17:33:49 GMT

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