W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: [IndexedDB] IDBDAtabase.transaction clarification

From: João Eiras <joaoe@opera.com>
Date: Thu, 23 Feb 2012 22:56:20 +0100
To: public-webapps@w3.org
Message-ID: <op.v95i76c82q99of@joaoe>

>> IDBDatabase.transaction accepts either an array of strings or string as
>> first argument, which are the name of the object stores. What should
>> be used for the very first transaction of an empty database with no
>> object stores ? Empty array ?
>
> When a database is created a VERSION_CHANGE transaction is
> automatically created. So there is no need to call
> IDBDatabase.transaction. Not entirely sure I understand the question
> here.
>

Then how can one get a reference to that IDBTransaction object ?
Received on Thursday, 23 February 2012 21:56:48 GMT

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