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

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.

J

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