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

Re: [IndexedDB] Let's remove IDBDatabase.objectStore()

From: Andrei Popescu <andreip@google.com>
Date: Tue, 24 Aug 2010 09:32:52 +0100
Message-ID: <AANLkTimOmTb8A8WrWsDZQnHY68OZKw0wNN+--QG0R21O@mail.gmail.com>
To: ben turner <bent.mozilla@gmail.com>
Cc: public-webapps WG <public-webapps@w3.org>
On Tue, Aug 24, 2010 at 12:43 AM, ben turner <bent.mozilla@gmail.com> wrote:
> Hi folks,
>
> We originally included IDBDatabase.objectStore() as a convenience
> function because we figured that everyone would hate typing
> |myDatabase.transaction('myObjectStore').objectStore('myObjectStore')|.
> Unfortunately I think we should remove it - too many developers have
> used the function without realizing that the returned object was tied
> to a particular transaction. Any objections?
>

Removing it sounds like a good idea.

Andrei
Received on Tuesday, 24 August 2010 08:33:23 GMT

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