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

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

From: Pablo Castro <Pablo.Castro@microsoft.com>
Date: Tue, 24 Aug 2010 17:14:12 +0000
To: Jeremy Orlow <jorlow@chromium.org>, ben turner <bent.mozilla@gmail.com>
CC: public-webapps WG <public-webapps@w3.org>
Message-ID: <F753B2C401114141B426DB383C8885E0590C8E74@TK5EX14MBXC126.redmond.corp.microsoft.com>

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 GMT

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