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

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

From: Jeremy Orlow <jorlow@chromium.org>
Date: Tue, 24 Aug 2010 08:39:46 +0100
Message-ID: <AANLkTin8m73SooVcLk=0ZuDvZeH196woHtAnidA9MPdW@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?

It does seem like it could be confusing and it doesn't seem to save all that
many characters.  So I'm fine with it.

Received on Tuesday, 24 August 2010 07:40:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 13:55:35 UTC