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

From: public-webapps-request@w3.org [mailto:public-webapps-request@w3.org] On Behalf Of Jeremy Orlow
Sent: Tuesday, August 24, 2010 12:40 AM

>> 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.

+1

Received on Tuesday, 24 August 2010 17:14:47 UTC