Re: [IndexedDB] Implicit transactions

  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 UTC